优化开发库环境

This commit is contained in:
aixianling
2022-01-26 10:21:19 +08:00
parent 409cf69fd5
commit ed74a7d2bc

View File

@@ -49,20 +49,8 @@ export default {
},
methods: {
...mapActions(['agentSign']),
redirectTo(path) {
let {query, hash} = this.$route
delete query.app
uni.navigateTo({
url: `/apps${path}`, success: () => {
this.$router.push({query, hash})
},
fail: err => {
console.error(err)
}
})
},
handleGotoApp(app) {
uni.navigateTo({url: `/apps${app.path}`})
uni.navigateTo({url: `/${this.currentLib}${app.path}`})
},
handleLogin() {
uni.navigateTo({url: "./login"})