提交 f65cd2db 作者: 施汉文

🐞 fix: 修复路由视口展示判断

上级 731fcd29
......@@ -57,7 +57,10 @@
<!-- 绑定的 w 账号 -->
<bindUserList />
</div>
<div class="mobile-content" v-if="accountSelect">
<div
class="mobile-content"
v-if="accountSelect || $route.path === '/login'"
>
<router-view></router-view>
</div>
</div>
......@@ -186,7 +189,7 @@ export default {
newVal,
window.location.href,
this.token,
Cookies.get("token")
Cookies.get("token"),
);
// 强制更新组件
this.$forceUpdate();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论