mod(custom): 部分细节优化
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user