6
0
Fork 0

修复金刚区Tab页跳转失败

develop
Jing Li 2023-03-26 21:06:03 +08:00
parent 10b3db109e
commit abe11de5df
1 changed files with 5 additions and 6 deletions

View File

@ -559,13 +559,12 @@ export default {
if (e.jump_type == 1) {
if (tabRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) {
const params = this.getParams(e.jump_link);
// console.log(params);
// console.log(params);
if(Object.keys(params.params).length>0) {
uni.$emit('jumpTab',params.params)
this.$u.route({
url: params.path,
type: 'switchTab',
});
uni.$emit('jumpTab', params.params)
uni.switchTab({
url: params.path
})
}
} else if (whiteRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) {
this.$u.routeAuth(e.jump_link);