This commit is contained in:
liuye
2023-09-22 10:13:46 +08:00
parent 84e5dc0354
commit 816e6947e5

View File

@@ -261,9 +261,9 @@ export default {
if(row.type == 1) { //type 0:内置应用, 1:外链, 2tabbar页面 if(row.type == 1) { //type 0:内置应用, 1:外链, 2tabbar页面
uni.navigateToMiniProgram({appId: row.appId}); uni.navigateToMiniProgram({appId: row.appId});
}else if(row.type == 2) { }else if(row.type == 2) {
uni.switchTab({url: row.modulePath+`&name=${row.name}`}) uni.switchTab({url: row.modulePath})
}else { }else {
uni.navigateTo({url: row.modulePath}) uni.navigateTo({url: row.modulePath+`&name=${row.name}`})
} }
}, },
getWeather() { getWeather() {