mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 18:29:19 +08:00
refactor: 清理临时检查文件;用户信息增强与登录页优化
- 删除 INSPECTION.md / TODO.md 等临时检查文档 - 新增 UserCompanySummaryVO:登录用户返回所属公司摘要信息 - UserServiceImpl / UserVO:调整用户信息结构与缓存逻辑 - 前端:登录页布局优化 / 用户下拉组件更新
This commit is contained in:
@@ -12,6 +12,7 @@ import type { SetupContext } from 'vue';
|
||||
|
||||
import type { VbenFormProps } from '@vben-core/form-ui';
|
||||
|
||||
import type { ClassValue } from 'clsx';
|
||||
import type { ExtendedVxeGridApi, VxeGridProps } from './types';
|
||||
|
||||
import {
|
||||
@@ -25,18 +26,18 @@ import {
|
||||
watch,
|
||||
} from 'vue';
|
||||
|
||||
import { clsx } from 'clsx';
|
||||
import { usePriorityValues } from '@vben/hooks';
|
||||
import { EmptyIcon } from '@vben/icons';
|
||||
import { $t } from '@vben/locales';
|
||||
import { usePreferences } from '@vben/preferences';
|
||||
import {
|
||||
cloneDeep,
|
||||
cn,
|
||||
isBoolean,
|
||||
isEqual,
|
||||
mergeWithArrayOverride,
|
||||
} from '@vben/utils';
|
||||
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
import { VbenHelpTooltip, VbenLoading } from '@vben-core/shadcn-ui';
|
||||
|
||||
import { VxeButton } from 'vxe-pc-ui';
|
||||
@@ -49,6 +50,11 @@ import 'vxe-table/styles/cssvar.scss';
|
||||
import 'vxe-pc-ui/styles/cssvar.scss';
|
||||
import './style.css';
|
||||
|
||||
/** 合并 Tailwind 类名(须放在全部 import 之后,避免非法模块语法导致运行时无 cn) */
|
||||
function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
interface Props extends VxeGridProps {
|
||||
api: ExtendedVxeGridApi;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user