From 68c9c462845e3bde04f34e88187b0b559ceffda5 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 20 六月 2023 14:58:17 +0800
Subject: [PATCH] 完善配置信息使用

---
 src/stores/StoresConfing.ts |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index ce88aa2..ce9264c 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -1,10 +1,20 @@
 import { defineStore } from 'pinia'
 import { ref } from 'vue'
 export const confingInfoStore =defineStore('confingInfo',()=>{
-    const confingInfo=ref({})
+    const confingInfo=ref({
+        screenTimeout: 150,
+        isUseFaceRecogService: true,
+        deviceType:"体重秤",
+        face_database:"Face_jq",
+        face_score:0.55,
+        timeJg:10000,
+        base_api:"",
+        face_push:3,
+        
+    })
     /**
-     * 更新用户选择角色
-     * @param roleText 角色名称
+     * 更新配置文件设置 
+     * @param roleText 配置文件设置 
      */
     function setconfingInfo(info:any){
         confingInfo.value=info

--
Gitblit v1.8.0