修改状态
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user