perf(client): use shallowRef instead of ref for template reference
This commit is contained in:
parent
826e4502cb
commit
c93f091ba8
46 changed files with 66 additions and 70 deletions
|
@ -41,7 +41,7 @@ const emit = defineEmits<{
|
|||
(event: 'ok'): void;
|
||||
}>();
|
||||
|
||||
let modal = $ref<InstanceType<typeof MkModal>>();
|
||||
let modal = $shallowRef<InstanceType<typeof MkModal>>();
|
||||
let rootEl = $shallowRef<HTMLElement>();
|
||||
let headerEl = $shallowRef<HTMLElement>();
|
||||
let bodyWidth = $ref(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue