diff --git a/src/views/dashboard/console/index.vue b/src/views/dashboard/console/index.vue index bcc9c28..d33d684 100644 --- a/src/views/dashboard/console/index.vue +++ b/src/views/dashboard/console/index.vue @@ -203,7 +203,7 @@ import AreaRanking from './components/AreaRanking.vue'; const notification = useNotification(); onMounted(() => { - if (localStorage.getItem('adClosed')) { + if (!localStorage.getItem('adClosed')) { notification.info({ title: '双十二限时特惠', content: () => diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index c7eda5d..4b833d2 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -133,6 +133,7 @@ label: '编辑', icon: renderIcon(FormOutlined), type: 'info', + disabled: record.status == 1, onClick: handleEdit.bind(null, record), auth: ['sys:job:update'], },