From 452ae76fa951f6e201dfbd67dc67bd07060a261d Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Tue, 18 Feb 2025 22:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E5=95=86=E6=88=B7=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=86=E7=B1=BB=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/shop/index/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/plugins/shop/index/index.vue b/pages/plugins/shop/index/index.vue index da746516..d5f3375e 100644 --- a/pages/plugins/shop/index/index.vue +++ b/pages/plugins/shop/index/index.vue @@ -97,11 +97,15 @@ onLoad(params) { // 调用公共事件方法 - app.globalData.page_event_onload_handle(params); + app.globalData.page_event_onload_handle(params); + + // 参数处理 + params = app.globalData.launch_params_handle(params); // 设置参数 this.setData({ - params: params, + params: params, + nav_active_value: params.category_id || 0, }); // 数据加载 this.get_data();