Explorar el Código

更新数据失败提示1

zhouna hace 4 años
padre
commit
a7a09a7535
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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||'更新失败,请重试');
           }
         });
       }