Browse Source

【值班系统】后台管理-通知公告,操作列点击发布,发布成功的提示语和UI不一致

CzRger 1 year ago
parent
commit
5925f6af1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/system/notice-announcement/index.vue

+ 2 - 2
src/views/system/notice-announcement/index.vue

@@ -266,7 +266,7 @@ export default defineComponent({
         state.loading = true
         that.$api.getNoticePublish({id: val.id}).then(res => {
           if (res.code === 200) {
-            ElMessage.success(res.message)
+            ElMessage.success('发布成功!')
             refreshSearch()
           } else {
             ElMessage.error(res.message)
@@ -286,7 +286,7 @@ export default defineComponent({
         state.loading = true
         that.$api.getNoticeRevoke({id: val.id}).then(res => {
           if (res.code === 200) {
-            ElMessage.success(res.message)
+            ElMessage.success('撤回成功!')
             refreshSearch()
           } else {
             ElMessage.error(res.message)