Fix:2986 【商城小程序】寻趣味暂无店铺标识,之前改为有此标识也开放为可以进入页面,现在还要按如下方式修改一下规则

This commit is contained in:
modendeveloper
2025-01-08 19:56:20 +08:00
parent 09b677d593
commit 77953ad6fe
+1 -1
View File
@@ -314,7 +314,7 @@ export default {
},
select(item) {
if (this.type === 0 && item.hasData === 0) return
// if ((this.type === 1 || this.type === 2) && item.hasShop === 0) return
if ((this.type === 1 || this.type === 2) && item.hasShop === 0 && item.hasAncientTown === 0) return
uni.setStorageSync("cityName", item.cityName)
switch (this.type) {