From 5510f41e111068a91bbba1ade732c920bb67f248 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 24 Dec 2020 18:11:21 +0800 Subject: [PATCH] 转换数组、对象参数请求数据格式 --- layout/h5Page/CNavBar.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/layout/h5Page/CNavBar.vue b/layout/h5Page/CNavBar.vue index 75bed2e..b5dbf3e 100644 --- a/layout/h5Page/CNavBar.vue +++ b/layout/h5Page/CNavBar.vue @@ -56,7 +56,9 @@ return; } this.dropShow = false; - Taro.navigateTo({ url: nav.url }); + setTimeout(() => { + Taro.navigateTo({ url: nav.url }); + }, 0); }, dropMenu() { this.dropShow = !this.dropShow; -- Gitblit v1.9.1