提交 f65cd2db 作者: 施汉文

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

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