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

修复点击收藏后去登录

上级 051922b5
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<svg-icon <svg-icon
:icon-class="collectCountStatus ? 'collect-s' : 'collect'" :icon-class="collectCountStatus ? 'collect-s' : 'collect'"
:style="{ :style="{
fontSize: iconSize + 'px', fontSize: iconSize + 'px',
color: collectCountStatus ? selectColor : '#61666d', color: collectCountStatus ? selectColor : '#61666d',
}" }"
></svg-icon> ></svg-icon>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
:visible.sync="loginDialogVisible" :visible.sync="loginDialogVisible"
width="30%" width="30%"
:before-close="handleLoginClose" :before-close="handleLoginClose"
:modal="false" append-to-body
> >
<span>读者功能需登录进行使用,是否去登录?</span> <span>读者功能需登录进行使用,是否去登录?</span>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -208,7 +208,8 @@ export default { ...@@ -208,7 +208,8 @@ export default {
}, },
handleToLogin() { 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() { copyUrl() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论