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

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

No files matched your search

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