chore: eslint 配置
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
export async function PromiseConfirmationService({ message }: { message: string }) {
|
||||
return await new Promise<boolean>((reslove) => {
|
||||
ConfirmationService.require({
|
||||
position: 'bottomright',
|
||||
modal: false,
|
||||
accept: () => reslove(true),
|
||||
header: '提示',
|
||||
message: message,
|
||||
accept: () => reslove(true),
|
||||
modal: false,
|
||||
position: 'bottomright',
|
||||
reject: () => reslove(false),
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user