Sfoglia il codice sorgente

更新数据失败提示

zhouna 4 anni fa
parent
commit
e49a2a1ef0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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();