src/views/h5/login/redirect.vue
@@ -53,7 +53,7 @@ this.redirectUrl() this.redirectCount = localStorage.getItem('weChatRedirectCount') || 0 this.redirectCount = Number(this.redirectCount) + 1 localStorage.setItem('weChatRedirectCount', redirectCount) localStorage.setItem('weChatRedirectCount', this.redirectCount) } }, methods: { @@ -103,9 +103,7 @@ }) } } else { setTimeout(() => { this.$router.replace({ path: '/h5/noTask', query: { tip: res.data.msg }}) }, 1000) this.$router.replace({ path: '/h5/noTask', query: { tip: res.data.msg }}) } }) }