@xuda.io/runtime-bundle 1.0.936 → 1.0.937
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12097,8 +12097,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12097
12097
|
'xu-attrs': async function ($elm, val) {
|
|
12098
12098
|
if (!val.value) return {};
|
|
12099
12099
|
if (!_.isObject(val.value)) throw 'xu-attrs value us not an object';
|
|
12100
|
-
for (const [
|
|
12101
|
-
nodeP.attributes[
|
|
12100
|
+
for (const [attr_key, attr_val] of Object.entries(val.value)) {
|
|
12101
|
+
nodeP.attributes[attr_key] = attr_val;
|
|
12102
12102
|
}
|
|
12103
12103
|
|
|
12104
12104
|
return {};
|
|
@@ -9824,8 +9824,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
9824
9824
|
'xu-attrs': async function ($elm, val) {
|
|
9825
9825
|
if (!val.value) return {};
|
|
9826
9826
|
if (!_.isObject(val.value)) throw 'xu-attrs value us not an object';
|
|
9827
|
-
for (const [
|
|
9828
|
-
nodeP.attributes[
|
|
9827
|
+
for (const [attr_key, attr_val] of Object.entries(val.value)) {
|
|
9828
|
+
nodeP.attributes[attr_key] = attr_val;
|
|
9829
9829
|
}
|
|
9830
9830
|
|
|
9831
9831
|
return {};
|