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