From 480c0834c2dc57721022cc9b06d527a3e7cad09b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 18 七月 2025 13:09:55 +0800
Subject: [PATCH] gx百度sdk适配

---
 src/views/home/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 9b3395a..121c2b3 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -321,9 +321,7 @@
 const getUserMediaFail = ref(false) // 获取用户媒体失败
 let lsDateTime:any=new Date()
 const msg = ref<string>("没识别到人脸...");
-const datetext=computed(()=>{
-  return  formatDate(new Date(),'YYYY-mm-dd  WWW')
-})
+const datetext=ref(formatDate(new Date(),'YYYY-mm-dd  WWW'))
 /**体重发送时候显示在界面的体重 */
 const weightInfoResult=ref() 
 let timer:any=new Date()
@@ -1096,6 +1094,7 @@
       if(clockNum.value===0){
         fuxuan()
       }
+      datetext.value= formatDate(new Date(),'YYYY-mm-dd  WWW')
       date.value=formatDate(new Date(),'YYYY-mm-dd HH:MM')
       if(Number(date.value.substring(11,13))<12){
         timeShidaun.value='上午好!'

--
Gitblit v1.8.0