From efb29dd72dfb4349869d0e7459490309ab47a2c1 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 27 九月 2022 11:26:57 +0800
Subject: [PATCH] 679
---
src/views/home/index.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index d8a0e30..21f03fb 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -31,7 +31,7 @@
const AudioRef4=ref()
const AudioRef5=ref()
const isLink = computed(() => {
- return !sockte.isLink
+ return sockte.isLink
})
const netLink = computed(() => {
return !sockte.netLink
@@ -164,7 +164,7 @@
// AudioRef2.value.play()
if (patientInfo.value.id === 0) {
AudioRef0.value.play()
- inputRef.value.focus();
+ // inputRef.value.focus();
}
else {
@@ -197,7 +197,7 @@
}
if (patientInfo.value.id === 0) {
AudioRef0.value.play()
- inputRef.value.focus();
+ // inputRef.value.focus();
settime()
} else {
AudioRef3.value.play()
@@ -253,7 +253,10 @@
state.clockNum = patientInfoStore().viewNumber
setInterval(function () {
+ if(isLink.value){
+ // console.log('sockte链接成功指标指向input',isLink.value)
inputRef.value.focus();
+ }
}, 1000)
})
--
Gitblit v1.8.0