This commit is contained in:
liuye
2023-09-18 17:03:07 +08:00
parent 9bc6083780
commit 9b92f788ad

View File

@@ -258,9 +258,11 @@ export default {
})
},
openApp(row) {
if(row.type == 1) {
if(row.type == 1) { //type 0:内置应用, 1:外链, 2tabbar页面
uni.navigateToMiniProgram({appId: row.appId});
}else { //type0 内置应用
}else if(row.type == 2) {
uni.switchTab({url: row.modulePath})
}else {
uni.navigateTo({url: row.modulePath})
}
},