Просмотр исходного кода

添加通知编辑名称判断

zizhong.wang лет назад: 4
Родитель
Сommit
41809c1695
1 измененных файлов с 1 добавлено и 1 удалено
  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;