feat(SAT): add CesiumViewer component and utility functions; update dependencies

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),
});
});
}