修改状态

This commit is contained in:
2025-09-24 10:24:52 +08:00
parent e64318f174
commit a2f92a0959
12 changed files with 70 additions and 24 deletions

View File

@@ -18,6 +18,10 @@ Page({
*/
onLoad(options) {
this.init()
const user = wx.getStorageSync('user')
this.setData({
workStatus: !!user.workStatus
})
},
async init() {
const { code, message, data } = await getWorkBenchHome()