优化开发库环境
This commit is contained in:
@@ -49,20 +49,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['agentSign']),
|
...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) {
|
handleGotoApp(app) {
|
||||||
uni.navigateTo({url: `/apps${app.path}`})
|
uni.navigateTo({url: `/${this.currentLib}${app.path}`})
|
||||||
},
|
},
|
||||||
handleLogin() {
|
handleLogin() {
|
||||||
uni.navigateTo({url: "./login"})
|
uni.navigateTo({url: "./login"})
|
||||||
|
|||||||
Reference in New Issue
Block a user