Преглед на файлове

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

yuanrf преди 11 месеца
родител
ревизия
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() {