소스 검색

地接费用填写添加异常处理

yuanrf 1 년 전
부모
커밋
0a800bc7fe
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/components/OP/CarTouristGuideGrounContent.vue

+ 3 - 1
src/components/OP/CarTouristGuideGrounContent.vue

@@ -484,9 +484,11 @@ export default {
                 } else {
                     this.$message.error('初始化失败' + res.data.msg);
                 }
+            }).catch(function (error) {
+                that.$message.error("网络错误,请刷新重试!");
+            }).finally(() => {
                 that.loading = false;
             })
-
         },
         //获取ctable
         PostPageLinkCTable() {