From 5ceaaed517caec3d0fdee115b3e2bcf02301750b Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 8 Sep 2020 16:57:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8A=A0=E8=BD=BD=E5=8A=A8?= =?UTF-8?q?=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 +++++-- .../theme/ningbo_03/menus/menuDialog/trainDepart.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index d572ed6eb..daadab6ab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -58,8 +58,11 @@ export default { }); }, '$store.state.app.transitionAnimationsCount': function(val) { - this.loading = true; - this.loadingStartTime = +new Date(); + const time = +new Date(); + if ((time - this.loadingStartTime) > 3000) { + this.loading = true; + this.loadingStartTime = +new Date(); + } }, '$route' () { this.$nextTick(function() { diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainDepart.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainDepart.vue index 59f3cca46..b2dc4c47d 100644 --- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainDepart.vue +++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/trainDepart.vue @@ -1,7 +1,7 @@