feat: 实现后台管理前端全部页面与登录布局
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { createDiscreteApi } from 'naive-ui';
|
||||
import { themeOverrides } from '@/theme';
|
||||
|
||||
// 全局可用的消息/对话框/加载条(含在 setup 之外,如 axios 拦截器)
|
||||
const { message, dialog, loadingBar } = createDiscreteApi(['message', 'dialog', 'loadingBar'], {
|
||||
configProviderProps: { themeOverrides },
|
||||
});
|
||||
|
||||
export { message, dialog, loadingBar };
|
||||
Reference in New Issue
Block a user