From 5f39bb8c96f3a187e44b55834bd97b55621fd167 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 04 Jan 2022 09:19:04 +0800
Subject: [PATCH] +若请求失败5秒后显示无数据
---
src/components/mobilePopupOur/index.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/components/mobilePopupOur/index.vue b/src/components/mobilePopupOur/index.vue
index 92e36be..02192f2 100644
--- a/src/components/mobilePopupOur/index.vue
+++ b/src/components/mobilePopupOur/index.vue
@@ -249,6 +249,7 @@
}
that.tabTable[+campus - 1].child = outList;
});
+ this.notLine();
},
//搜索请求
getListSearchMethod(name) {
@@ -293,7 +294,13 @@
that.fullscreenLoading = false;
that.onlyData = outList;
});
+ this.notLine();
+ },
+ notLine() {
+ setTimeout(() => {
+ this.fullscreenLoading = false;
+ }, 5000);
},
},
};
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3