提交 0a5122f1 authored 作者: 龙菲's avatar 龙菲

修复点击收藏后去登录

上级 051922b5
......@@ -39,7 +39,7 @@
:visible.sync="loginDialogVisible"
width="30%"
:before-close="handleLoginClose"
:modal="false"
append-to-body
>
<span>读者功能需登录进行使用,是否去登录?</span>
<span slot="footer" class="dialog-footer">
......@@ -208,7 +208,8 @@ export default {
},
handleToLogin() {
this.$router.push(`/login?redirect=${this.$route.fullPath}`);
this.$store.commit("app/OPEN_LOGIN_DIALOG", true);
// this.$router.push(`/login?redirect=${this.$route.fullPath}`);
},
copyUrl() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论