refactor(frontend): use composition aoi
This commit is contained in:
parent
62af89d433
commit
59dc9516d0
5 changed files with 76 additions and 105 deletions
|
@ -65,7 +65,7 @@ const getBgColor = (el: HTMLElement) => {
|
|||
}
|
||||
};
|
||||
|
||||
let rootEl = $ref<HTMLElement>();
|
||||
let rootEl = $shallowRef<HTMLElement>();
|
||||
let bgSame = $ref(false);
|
||||
let opened = $ref(props.defaultOpen);
|
||||
let openedAtLeastOnce = $ref(props.defaultOpen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue