perf(client): use shallowRef for html element ref
This commit is contained in:
@@ -88,7 +88,7 @@ const emit = defineEmits<{
|
||||
|
||||
provide('inWindow', true);
|
||||
|
||||
let rootEl = $ref<HTMLElement | null>();
|
||||
let rootEl = $shallowRef<HTMLElement | null>();
|
||||
let showing = $ref(true);
|
||||
let beforeClickedAt = 0;
|
||||
let maximized = $ref(false);
|
||||
|
Reference in New Issue
Block a user