优化开发库环境
This commit is contained in:
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user