Explorar o código

更新数据失败提示

zhouna %!s(int64=4) %!d(string=hai) anos
pai
achega
e49a2a1ef0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();