@@ -131,11 +131,12 @@ export default {
Toast('登录成功')
const query = this.$route.query
if (query.redirect) {
+ console.log('redirect:', query)
this.$router.push({ path: query.redirect }).catch((res) => {
console.log(res)
})
} else {
- this.$router.push({ path: '/' }).catch((res) => {
+ this.$router.push({ path: '/search/generalSearch' }).catch((res) => {
console.log(res)
})
}