@ -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(){