提交 61ef3abd authored 作者: lihuihui's avatar lihuihui

update

上级 2de95141
...@@ -33,6 +33,9 @@ export default { ...@@ -33,6 +33,9 @@ export default {
} }
}, },
created() { created() {
if (this.$route.query.other) {
this.popupVisible = true
}
const isLogin = this.$store.state.user.id || this.$store.dispatch('checkLogin') const isLogin = this.$store.state.user.id || this.$store.dispatch('checkLogin')
if (!isLogin) { if (!isLogin) {
window.location.href = `${import.meta.env.VITE_LOGIN_URL}?rd=${encodeURIComponent(window.location.href)}` window.location.href = `${import.meta.env.VITE_LOGIN_URL}?rd=${encodeURIComponent(window.location.href)}`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论