浏览代码

更新数据失败提示

zhouna 4 年之前
父节点
当前提交
e49a2a1ef0
共有 1 个文件被更改,包括 2 次插入0 次删除
  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();