diff --git a/frontend/pc/src/App.vue b/frontend/pc/src/App.vue index ae9222ec0..ba0b43c4c 100644 --- a/frontend/pc/src/App.vue +++ b/frontend/pc/src/App.vue @@ -90,6 +90,7 @@ mixins: [permission], data() { return { + enableNoticeCenter: window.NOTICE_CENTER_SWITCH === 'on', loading: false, localLoading: false, isRouterAlive: true, diff --git a/frontend/pc/src/store/index.js b/frontend/pc/src/store/index.js index 808412e3e..db0cda5ec 100644 --- a/frontend/pc/src/store/index.js +++ b/frontend/pc/src/store/index.js @@ -123,7 +123,7 @@ export default new Vuex.Store({ // 公共 store state: { language: "zh-cn", - showNotice: window.NOTICE_CENTER_SWITCH === 'on', + showNotice: false, // 任务执行后刷新任务记录列表 taskHistoryRefresh: false, // 缓存人员选择器数据