跳转搜索页

(cherry picked from commit ed9eba4b7f8a1ed07dcf0bde9e4410da631a08fc)
This commit is contained in:
Xia Zekun
2024-09-06 17:25:25 +08:00
committed by mzaxd
parent ee09baf2ac
commit 8f46ea0b3d
+4 -2
View File
@@ -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')