dev #63

Merged
wangzhongjie merged 206 commits from dev into main 2024-12-16 10:31:20 +08:00
Showing only changes of commit 0aaf5ddd1a - Show all commits

View File

@ -132,15 +132,13 @@ struct UserInfo {
// this.openDeviceByIDCard()
const routerParam=router.getParams()||{type :0};
console.log('routerParam',JSON.stringify(routerParam))
if(!globalThis.singlePlay){
// @ts-ignore
if(routerParam.type!=1){
// @ts-ignore
this.list =await getSyncData('USERLIST')
// @ts-ignore
const data=await getSyncData('USER')
console.log('datadata',JSON.stringify(data));
console.log('datadata2',JSON.stringify(this.list))
const user=data[0]
if(user&&Number(user.kssycs)){
this.list.forEach(res=>{
@ -170,6 +168,7 @@ struct UserInfo {
}else{
this.getExaminationStudentInfoFn()
}
}
// 如果是单机模式则模拟假数据