chenyc
2025-07-18 480c0834c2dc57721022cc9b06d527a3e7cad09b
src/stores/StoresConfing.ts
@@ -3,6 +3,7 @@
export const confingInfoStore =defineStore('confingInfo',()=>{
    const confingInfo=ref({
        isLanFace:false,//内网版
        faceType:"百度",//人脸识别类型  baidu 阿里云
        faceApi:'',
        screenTimeout: 150,
        // 启用人脸识别
@@ -52,12 +53,15 @@
        confingInfo.value=info
        // 给默认值
        if(info.BobaoJg===undefined){
            confingInfo.value.BobaoJg=4
            confingInfo.value.BobaoJg=10
        }
        // 
        if(info.isLanFace===undefined){
            confingInfo.value.isLanFace=false
        }
        if(info.faceType===undefined){
            confingInfo.value.faceType="阿里云"
        }
    }
    return {confingInfo,setconfingInfo}
})