소스 검색

更新数据失败提示1

zhouna 4 년 전
부모
커밋
a7a09a7535
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/components/basicKnow/BasicTermsMaintenance.vue

+ 3 - 0
src/components/basicKnow/BasicTermsMaintenance.vue

@@ -176,6 +176,9 @@ export default {
           this.getDataList();
           if (res.data.code == 0) {
             this.reloadFlag = true;
+              this.warning('更新成功','success');
+          }else{
+              this.warning(res.data.msg||'更新失败,请重试');
           }
         });
       }