feat: 添加 $dialog 函数
This commit is contained in:
@@ -49,10 +49,12 @@ export const configProviderProps = {
|
||||
};
|
||||
|
||||
export const {
|
||||
dialog: $dialog,
|
||||
message: $message,
|
||||
notification: $notification,
|
||||
} = createDiscreteApi(
|
||||
[
|
||||
'dialog',
|
||||
'message',
|
||||
'notification',
|
||||
],
|
||||
@@ -64,5 +66,9 @@ export const {
|
||||
keepAliveOnHover: true,
|
||||
placement: 'top',
|
||||
},
|
||||
notificationProviderProps: {
|
||||
keepAliveOnHover: true,
|
||||
placement: 'top-right',
|
||||
},
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user