From 876c529e948574323acd055a20170502727d8f02 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Mon, 25 Apr 2022 10:08:10 +0800 Subject: [PATCH] 控制标签的优化 --- pages/goods/categoryList/categoryList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index fd7fe56..9592a6d 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -268,7 +268,7 @@ Page({ else if (that.data.is_show_xm) {that.setData({ currentTab: 3 });that.getServiceCategory(); } - var t_type=this.data.type; + var t_type=that.data.type; //----求传参过来的控制----- if (t_type == 1 && that.data.is_show_gb ) { that.setData({ currentTab: 1 }); -- libgit2 0.21.4