@xuda.io/runtime-bundle 1.0.1144 → 1.0.1145
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
|
@@ -13107,7 +13107,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
13107
13107
|
if ($elm.is(':visible')) {
|
|
13108
13108
|
try {
|
|
13109
13109
|
// var res = eval('(' + val.value + ')');
|
|
13110
|
-
const fn = `(function(el) {${val.value}})(${$elm[0]});`;
|
|
13110
|
+
const fn = `(function(el) {console.log(el); ${val.value}})(${$elm[0]});`;
|
|
13111
13111
|
var res = eval(fn);
|
|
13112
13112
|
// if (typeof res === 'function') {
|
|
13113
13113
|
// res($elm[0]);
|
|
@@ -10832,7 +10832,7 @@ 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) {${val.value}})(${$elm[0]});`;
|
|
10835
|
+
const fn = `(function(el) {console.log(el); ${val.value}})(${$elm[0]});`;
|
|
10836
10836
|
var res = eval(fn);
|
|
10837
10837
|
// if (typeof res === 'function') {
|
|
10838
10838
|
// res($elm[0]);
|