feat: 优化前端界面布局和响应式设计

- 为表格添加空数据提示组件
- 根据设备类型动态调整抽屉组件大小
- 优化表格列宽和显示效果
- 调整描述组件的列数布局
- 在重置用户状态时清除用户信息
This commit is contained in:
zhangtao
2025-07-21 00:10:54 +08:00
parent 9f619fc065
commit b7efbd6667
12 changed files with 47 additions and 28 deletions
+2
View File
@@ -80,6 +80,8 @@ export const useUserStore = defineStore("user", {
resetAllState() {
// 重置用户状态
Auth.clearAuth();
// 重置用户信息
this.clearUserInfo();
// 重置路由
usePermissionStoreHook().resetRouter();
// 清除标签视图