跳转搜索页
(cherry picked from commit ed9eba4b7f8a1ed07dcf0bde9e4410da631a08fc)
This commit is contained in:
+4
-2
@@ -87,12 +87,14 @@ new Vue({
|
||||
// })
|
||||
console.log('store.dispatch(\'DingLogin\')')
|
||||
store.dispatch('DingLogin').then(() => {
|
||||
console.log('跳转到搜索页')
|
||||
new Vue().$router.push({ path: '/search/generalSearch' })
|
||||
console.log('DingLogin后 跳转到搜索页')
|
||||
this.$router.push({ path: '/search/generalSearch' })
|
||||
}).catch((e) => {
|
||||
Toast(e.message)
|
||||
})
|
||||
}
|
||||
console.log('跳转到搜索页')
|
||||
this.$router.push({ path: '/search/generalSearch' })
|
||||
},
|
||||
render: h => h(App)
|
||||
}).$mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user