Browse Source

添加通知编辑名称判断

zizhong.wang 4 years ago
parent
commit
41809c1695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/notification/editPage/editPage.vue

+ 1 - 1
src/views/notification/editPage/editPage.vue

@@ -263,7 +263,7 @@ export default {
         this.tipText = "资料名不能为空";
         this.tipFlag = true;
         return;
-      } else if (include >= 0) {
+      } else if (include >= 0 && !this.noticeId) {
         this.tipText = "资料名称不能重复,请重新输入";
         this.tipFlag = true;
         return;