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){ toPage(url){
uni.navigateTo({ if(/pages\/massif\/index$/.test(url)){
url:`/${url}`.replace(/\/\//g,'/') uni.switchTab({url:"/pages\/massif\/index"})
}) }else{
uni.navigateTo({ url:`/${url}`.replace(/\/\//g, '/') })
}
}, },
// //
refreshPosition(){ refreshPosition(){

Loading…
Cancel
Save