Sfoglia il codice sorgente

更新数据失败提示1

zhouna 4 anni fa
parent
commit
a7a09a7535
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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||'更新失败,请重试');
           }
         });
       }