Explorar el Código

添加通知编辑名称判断

zizhong.wang hace 4 años
padre
commit
41809c1695
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;