src/stores/StoresConfing.ts
@@ -2,7 +2,9 @@ import { ref } from 'vue' export const confingInfoStore =defineStore('confingInfo',()=>{ const confingInfo=ref({ clientCode:"",//客户端编号 isLanFace:false,//内网版 faceType:"百度",//人脸识别类型 baidu 阿里云 faceApi:'', screenTimeout: 150, // 启用人脸识别 @@ -58,6 +60,9 @@ if(info.isLanFace===undefined){ confingInfo.value.isLanFace=false } if(info.faceType===undefined){ confingInfo.value.faceType="阿里云" } } return {confingInfo,setconfingInfo} })