refactor(projects): perf page manage_role

This commit is contained in:
Soybean
2024-01-28 14:27:07 +08:00
parent 39aa7aa2de
commit a19f895cd9
6 changed files with 35 additions and 47 deletions

View File

@ -63,6 +63,8 @@ declare module 'vue' {
NNotificationProvider: typeof import('naive-ui')['NNotificationProvider']
NPopconfirm: typeof import('naive-ui')['NPopconfirm']
NPopover: typeof import('naive-ui')['NPopover']
NRadio: typeof import('naive-ui')['NRadio']
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NSelect: typeof import('naive-ui')['NSelect']
NSpace: typeof import('naive-ui')['NSpace']
NStatistic: typeof import('naive-ui')['NStatistic']

3
src/typings/naive-ui.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
declare namespace NaiveUI {
type ThemeColor = 'default' | 'error' | 'primary' | 'info' | 'success' | 'warning';
}