优化员工排班与规划月视图体验

This commit is contained in:
2026-06-27 00:08:18 +08:00
parent 5fc0e35759
commit 13916e61b7
21 changed files with 413 additions and 73 deletions
+5 -1
View File
@@ -60,8 +60,12 @@ Page({
},
onShow() {
if (this._needRefresh) {
const app = getApp()
const storageRefresh = wx.getStorageSync('planningNeedRefresh') === '1'
if (this._needRefresh || app.globalData.planningNeedRefresh || storageRefresh) {
this._needRefresh = false
app.globalData.planningNeedRefresh = false
wx.removeStorageSync('planningNeedRefresh')
this.loadCalendar()
}
},