Browse Source

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

CzRger 1 year ago
parent
commit
1e07e2511b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/notice-announcement/detail.vue

+ 1 - 1
src/views/system/notice-announcement/detail.vue

@@ -140,7 +140,7 @@ export default defineComponent({
           const apiHandle = props.transfer.method === 'edit' ? that.$api.editNoticeEdit(params) : that.$api.addNoticeSave(params)
           apiHandle.then(res => {
             if (res.code === 200) {
-              ElMessage.success(res.message)
+              ElMessage.success(props.transfer.method === 'edit' ? '保存成功!' : '发布成功!')
               emit('update:show', false)
               emit('refresh')
             } else {