feat: 优化用户界面和功能实现
- 新增自定义用户信息卡片样式 - 优化登录页面输入框和按钮样式 - 重构首页布局和图标展示 - 添加多种操作图标资源 - 改进用户退出登录逻辑 - 优化页面跳转和错误处理
This commit is contained in:
5
App.vue
5
App.vue
@@ -11,7 +11,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
width: '--width:300px;',
|
||||
width: '--width:360px;',
|
||||
height: '--height:712px;'
|
||||
};
|
||||
},
|
||||
@@ -35,7 +35,8 @@
|
||||
// this.'--height' = (_windowsHeight - 50) + 'px;';
|
||||
},
|
||||
checkLogin() {
|
||||
if (!getToken()) {
|
||||
const token = getToken();
|
||||
if (!token) {
|
||||
this.$tab.reLaunch('/pages/login');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user