优化规划刷新和导出设置说明
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
function markPlanningRefresh() {
|
||||
const app = getApp()
|
||||
app.globalData.planningNeedRefresh = true
|
||||
wx.setStorageSync('planningNeedRefresh', '1')
|
||||
getCurrentPages().forEach(page => {
|
||||
if (page.route === 'pages/planning/index') {
|
||||
page._needRefresh = true
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
markPlanningRefresh
|
||||
}
|
||||
Reference in New Issue
Block a user