Browse Source

首页 修改标签跳转

master
邓宏 2 months ago
parent
commit
184bc08edc
  1. 8
      pages/home/index.vue

8
pages/home/index.vue

@ -503,9 +503,11 @@ import request,{host} from '@/common/request'
}
},
toPage(url){
uni.navigateTo({
url:`/${url}`.replace(/\/\//g,'/')
})
if(/pages\/massif\/index$/.test(url)){
uni.switchTab({url:"/pages\/massif\/index"})
}else{
uni.navigateTo({ url:`/${url}`.replace(/\/\//g, '/') })
}
},
//
refreshPosition(){

Loading…
Cancel
Save