Browse Source

更新数据失败提示

zhouna 4 years ago
parent
commit
e49a2a1ef0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/knowledgeExtra/RuleManager.vue

+ 2 - 0
src/components/knowledgeExtra/RuleManager.vue

@@ -407,6 +407,8 @@
                     if (res.data.code == '0') {
                         this.warning('更新成功','success');
                         this.getDataList();
+                    }else{
+                        this.warning(res.data.msg||'更新失败,请重试');
                     }
                 }).catch((error) => {
                     loading.close();