chore: 工程能力增强,可交互式使用常用功能
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user