添加用户协议

This commit is contained in:
zhangmanman
2021-09-28 11:30:55 +08:00
parent 386453cd14
commit b04e881294
3 changed files with 9 additions and 28 deletions

View File

@@ -158,22 +158,16 @@
var type = open.openType;
switch(type){
case 'switchTab':
uni.switchTab({
url: open.path
})
this.$Router.pushTab({name: open.path})
break;
case 'web':
uni.navigateTo({
url: open.url
})
window.location.href = open.path
break;
case 'navigateTo':
uni.navigateTo({
url: open.path
})
this.$Router.push({name: open.path})
break;
}
},
}
}
}
</script>