mod(custom): 部分细节优化

This commit is contained in:
2023-12-19 23:01:16 +08:00
parent dd89982c83
commit d54a738ef5
4 changed files with 68 additions and 6 deletions

View File

@@ -39,10 +39,6 @@
本局总下注
<span text-25>{{ totalA || 0 }}</span>
</div>
<div ml-20>
本局总下注
<span text-25>{{ totalA || 0 }}</span>
</div>
</div>
<div>
@@ -180,6 +176,9 @@ const show1 = ref(true)
ws.onopen = () => {
console.log('1连接成功')
setInterval(() => {
ws.send('ping')
}, 2500)
}
const totalA = ref(null)
@@ -195,6 +194,9 @@ ws.onmessage = (msg) => {
ws1.onopen = () => {
console.log('2连接成功')
setInterval(() => {
ws.send('ping')
}, 2500)
}
ws1.onmessage = (msg) => {