feat(SAT): add CesiumViewer component and utility functions; update dependencies
All checks were successful
/ depcheck (push) Successful in 1m58s
/ build-and-deploy-to-vercel (push) Successful in 2m4s
/ surge (push) Successful in 1m44s
/ playwright (push) Successful in 2m4s

This commit is contained in:
严浩
2025-02-10 17:34:24 +08:00
parent f26342ddfc
commit 19e46190f1
9 changed files with 206 additions and 22 deletions

12
src/utils/index.ts Normal file
View File

@ -0,0 +1,12 @@
export async function PromiseConfirmationService({ message }: { message: string }) {
return await new Promise<boolean>((reslove) => {
ConfirmationService.require({
position: 'bottomright',
modal: false,
header: '提示',
message: message,
accept: () => reslove(true),
reject: () => reslove(false),
});
});
}