type:2
This commit is contained in:
@@ -258,9 +258,11 @@ export default {
|
||||
})
|
||||
},
|
||||
openApp(row) {
|
||||
if(row.type == 1) {
|
||||
if(row.type == 1) { //type 0:内置应用, 1:外链, 2:tabbar页面
|
||||
uni.navigateToMiniProgram({appId: row.appId});
|
||||
}else { //type0 内置应用
|
||||
}else if(row.type == 2) {
|
||||
uni.switchTab({url: row.modulePath})
|
||||
}else {
|
||||
uni.navigateTo({url: row.modulePath})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user