單機userlist
This commit is contained in:
parent
fdaba29b5c
commit
0aaf5ddd1a
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 如果是单机模式则模拟假数据
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user