Archived
feat(SAT): add CesiumViewer component and utility functions; update dependencies
This commit is contained in:
1 parent
f26342ddfc
commit
19e46190f1
9 files changed
+206
-22
No files matched your search
@@ -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),
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user