diff --git a/pages/airport/airport-runData/form.vue b/pages/airport/airport-runData/form.vue
index a0c2194..60860a4 100644
--- a/pages/airport/airport-runData/form.vue
+++ b/pages/airport/airport-runData/form.vue
@@ -599,7 +599,9 @@
})
this.$request(getApp().globalData.baseUrl + '/api/biz/airportRunData/saveOrUpdate', this.form,
'POST').then(res => {
- uni.hideLoading();
+ setTimeout(() => {
+ uni.hideLoading();
+ }, 2000);
if (res.code == 200) {
uni.showToast({
title: '报送提交成功',
@@ -618,7 +620,9 @@
})
}
}).catch(() => {
- uni.hideLoading();
+ setTimeout(() => {
+ uni.hideLoading();
+ }, 2000);
})
},
}
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 74a6f54..be81cbd 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -8,7 +8,7 @@
{{routersData.meta.title}}
-
+
@@ -37,7 +37,8 @@
return {
routersData: [],
showIndex: 0,
- mobile: getApp().globalData.mobile
+ mobile: getApp().globalData.mobile,
+ filterRoute: ['高速收费站'],//过滤菜单
}
},
onLoad(options) {
diff --git a/util/request.js b/util/request.js
index b6b43c3..bee4883 100644
--- a/util/request.js
+++ b/util/request.js
@@ -25,11 +25,13 @@ const request = (url, data, method = 'GET') => {
})
} else {
resolve(res.data)
- uni.showToast({
- title: res.data.msg,
- icon: "none",
- duration: 2000
- })
+ setTimeout(() => {
+ uni.showToast({
+ title: res.data.msg,
+ icon: "none",
+ duration: 2000
+ })
+ }, 1000)
}
} else {
reject(res)