@xuda.io/runtime-bundle 1.0.1146 → 1.0.1148
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.
|
@@ -10832,7 +10832,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10832
10832
|
if ($elm.is(':visible')) {
|
|
10833
10833
|
try {
|
|
10834
10834
|
// var res = eval('(' + val.value + ')');
|
|
10835
|
-
const fn = `(function(el
|
|
10835
|
+
const fn = `(function(el, evt) {
|
|
10836
|
+
${val.value}
|
|
10837
|
+
})(document.querySelector(\`[xu-ui-id="${$elm.attr('xu-ui-id')}"]\`),evt);`;
|
|
10838
|
+
|
|
10836
10839
|
var res = eval(fn);
|
|
10837
10840
|
// if (typeof res === 'function') {
|
|
10838
10841
|
// res($elm[0]);
|