From b660b31e9a36e21d925ccdb607df3a87db3456cf Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Mon, 8 Aug 2022 19:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Home/Home.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/page/Home/Home.vue b/src/page/Home/Home.vue index e54a6e1..9acfac6 100644 --- a/src/page/Home/Home.vue +++ b/src/page/Home/Home.vue @@ -160,6 +160,8 @@ const apiAll = () => { // 页面未挂载 onBeforeMount(() => { + goBackEvent() + if (!h5plugin.isWX()) { apiAll(); } @@ -185,7 +187,6 @@ onBeforeMount(() => { onMounted(() => { fontAdpat(); // stopBack() - goBackEvent() }); // 来自首页的事件