Browse Source

更新数据失败提示1

zhouna 4 years ago
parent
commit
a7a09a7535
1 changed files with 3 additions and 0 deletions
  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||'更新失败,请重试');
           }
         });
       }