Przeglądaj źródła

修复从我的等级里面点击购买商品,底部菜单无法正常选中的问题。

evoxwht 2 lat temu
rodzic
commit
ed4091c0dc
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      template/uni-app/pages/goods_cate/goods_cate.vue

+ 2 - 1
template/uni-app/pages/goods_cate/goods_cate.vue

@@ -45,7 +45,8 @@
 			this.getCategoryVersion()
 		},
 		methods: {
-			getCategoryVersion() {
+			getCategoryVersion() {
+				uni.$emit('uploadFooter')
 				getCategoryVersion().then(res => {
 					if (!uni.getStorageSync('CAT_VERSION') || res.data.version != uni.getStorageSync(
 							'CAT_VERSION')) {