Commit e4979a10 authored by leon's avatar leon

feat: login storage staffNo when is not null

parent 248866a1
......@@ -115,8 +115,10 @@
uni.setStorageSync('appId', info.appId);
uni.setStorageSync('authorized', info.authorized);
uni.setStorageSync('admin', info.admin);
uni.setStorageSync('show', info.show);
uni.setStorageSync('staffNo', info.staffNo);
uni.setStorageSync('show', info.show);
if(info.staffNo) {
uni.setStorageSync('staffNo', info.staffNo);
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment