@xuda.io/xuda-worker-bundle-min 1.3.2444 → 1.3.2446

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.
Files changed (2) hide show
  1. package/index.js +9 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -787,8 +787,14 @@ func.runtime.bind.resolve_field = async function (SESSION_ID, prog_id, dsSession
787
787
  if (ret_get_value.found) {
788
788
  _dsP = ret_get_value.dsSessionP;
789
789
  let _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_dsP];
790
- _prog_id = _ds.prog_id;
790
+ _prog_id = _ds?.prog_id;
791
791
  field_prop = await find_in_view(field_id, _prog_id);
792
+ if (!field_prop) {
793
+ field_prop = _ds?.dynamic_fields?.[field_id];
794
+ if (field_prop) {
795
+ is_dynamic_field = true;
796
+ }
797
+ }
792
798
  }
793
799
  }
794
800
  }
@@ -2827,10 +2833,8 @@ func.datasource.create = async function (
2827
2833
 
2828
2834
  var run_at = _prog_obj?.properties?.runAt;
2829
2835
 
2830
- if (!['live_preview', 'miniapp'].includes(_session.engine_mode)) {
2831
- if (_session.opt.app_computing_mode === 'main') {
2832
- run_at = 'client';
2833
- }
2836
+ if (_session.opt.app_computing_mode === 'main') {
2837
+ run_at = 'client';
2834
2838
  }
2835
2839
 
2836
2840
  if (_prog_obj?.properties.menuType === 'globals') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2444",
3
+ "version": "1.3.2446",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {