ソースを参照

更新数据失败提示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||'更新失败,请重试');
           }
         });
       }