chore: 工程能力增强,可交互式使用常用功能

This commit is contained in:
wangxuefeng
2025-02-19 15:22:48 +08:00
parent eab709f94f
commit c3ebe3e15c
7 changed files with 434 additions and 40 deletions

View File

@@ -19,9 +19,9 @@ import { ElConfigProvider, ElMessage } from 'element-plus';
import {
XMask,
useMask,
Bell,
Lock,
SwitchButton,
// Bell,
// Lock,
// SwitchButton,
type ActionBarItems,
type ActionProps
} from '@vtj/web';
@@ -30,19 +30,19 @@ import _logo from './assets/logo.svg';
const { disabled, title, menus, logo, themeSwitchable, pure } = useMask();
const actions: ActionBarItems = [
{
name: 'message',
icon: Bell,
badge: 1
},
{
name: 'lock',
icon: Lock
},
{
name: 'logout',
icon: SwitchButton
}
// {
// name: 'message',
// icon: Bell,
// badge: 1
// }
// {
// name: 'lock',
// icon: Lock
// },
// {
// name: 'logout',
// icon: SwitchButton
// }
];
const onActionClick = (action: ActionProps) => {