fix: fix createInstance bugs

This commit is contained in:
2024-09-21 23:44:02 +08:00
parent 1fbf1b64d9
commit a04e057119
4 changed files with 12 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ export type DefaultStyle<T> = {
} & T;
export class Modal<T = any, U = KV> {
static rootClassName = '#ui-modal-list';
root: HTMLDivElement;
id: string;
modalElement?: HTMLDivElement;