Browse Source

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

CzRger 1 year ago
parent
commit
b79f476fe8
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

@@ -123,7 +123,7 @@ export default defineComponent({
     })
     const onSubmit = () => {
       ref_form.value.submit().then(() => {
-        ElMessageBox.confirm("是否提交?", "提示", {
+        ElMessageBox.confirm(`是否${props.transfer.method === 'edit' ? '保存' : '发布'}?`, "提示", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning",