修复金刚区Tab页跳转失败
parent
10b3db109e
commit
abe11de5df
|
|
@ -561,11 +561,10 @@ export default {
|
||||||
const params = this.getParams(e.jump_link);
|
const params = this.getParams(e.jump_link);
|
||||||
// console.log(params);
|
// console.log(params);
|
||||||
if(Object.keys(params.params).length>0) {
|
if(Object.keys(params.params).length>0) {
|
||||||
uni.$emit('jumpTab',params.params)
|
uni.$emit('jumpTab', params.params)
|
||||||
this.$u.route({
|
uni.switchTab({
|
||||||
url: params.path,
|
url: params.path
|
||||||
type: 'switchTab',
|
})
|
||||||
});
|
|
||||||
}
|
}
|
||||||
} else if (whiteRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) {
|
} else if (whiteRouter.findIndex((el) => e.jump_link?.includes(el)) >= 0) {
|
||||||
this.$u.routeAuth(e.jump_link);
|
this.$u.routeAuth(e.jump_link);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue