|
@@ -8383,7 +8383,7 @@ if (uni.restoreGlobal) {
|
|
onLoad(async () => {
|
|
onLoad(async () => {
|
|
const token2 = uni.getStorageSync("token");
|
|
const token2 = uni.getStorageSync("token");
|
|
userInfo.value.name = uni.getStorageSync("username");
|
|
userInfo.value.name = uni.getStorageSync("username");
|
|
- userInfo.value.workStatus = uni.getStorageSync("workStatus");
|
|
|
|
|
|
+ userInfo.value.workStatus = uni.getStorageSync("workStatus") || "0";
|
|
const params2 = {
|
|
const params2 = {
|
|
token: token2,
|
|
token: token2,
|
|
data: JSON.stringify({
|
|
data: JSON.stringify({
|