@lvce-editor/renderer-process 30.55.1 → 30.55.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9603,7 +9603,7 @@ const setElementProperty = (viewletId, name, key, value) => {
|
|
|
9603
9603
|
const {
|
|
9604
9604
|
$Viewlet
|
|
9605
9605
|
} = instance.state;
|
|
9606
|
-
const $Element = $Viewlet.querySelector(selector);
|
|
9606
|
+
const $Element = $Viewlet.querySelector(selector) || [...document.querySelectorAll(selector)].find($Candidate => get$8($Candidate) === viewletId);
|
|
9607
9607
|
if (!$Element) {
|
|
9608
9608
|
return;
|
|
9609
9609
|
}
|