@byteluck-fe/model-driven-engine 1.7.6-bete.1 → 1.7.6-bete.10

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.
@@ -365,6 +365,10 @@ var Engine = /*#__PURE__*/ function(Watcher) {
365
365
  _this.__pluginsApplied = false;
366
366
  _this.actionManager = new ActionManager();
367
367
  _this._jobTasks = [];
368
+ /**
369
+ * 用于存储运行态无需proxy的数据
370
+ * from v1.7.6-beta
371
+ */ _this.rawStore = {};
368
372
  _this.createControlInstance = _this.createInstance;
369
373
  _this.$options = Object.freeze(props);
370
374
  var _this_$options = _this.$options, _this_$options_autoMount = _this_$options.autoMount, autoMount = _this_$options_autoMount === void 0 ? true : _this_$options_autoMount, schema = _this_$options.schema, beforeCreateInstance = _this_$options.beforeCreateInstance, externalParams = _this_$options.externalParams, _this_$options_language = _this_$options.// fieldModel,
@@ -432,9 +436,10 @@ var Engine = /*#__PURE__*/ function(Watcher) {
432
436
  _proto._proxyStateBeforeSetCallback = function _proxyStateBeforeSetCallback(state, key, newValue, oldValue) {
433
437
  var _this = this;
434
438
  var cc = console;
435
- cc.time("㊗️_proxyStateBeforeSetCallback findItem");
439
+ cc.log("㊗️_proxyStateBeforeSetCallback findItem" + key, newValue, oldValue);
440
+ cc.time("㊗️_proxyStateBeforeSetCallback findItem" + key);
436
441
  var instance = findItem(this.runtime.flatInstances, key);
437
- cc.timeLog("㊗️_proxyStateBeforeSetCallback findItem");
442
+ cc.timeLog("㊗️_proxyStateBeforeSetCallback findItem" + key);
438
443
  // 找不到控件说明不是改动控件上的字段,直接通过
439
444
  if (!instance) {
440
445
  return newValue;
@@ -476,9 +481,9 @@ var Engine = /*#__PURE__*/ function(Watcher) {
476
481
  _proto._handlerArrayUpdate = function _handlerArrayUpdate(state, key, type, args, result) {
477
482
  var _this = this;
478
483
  var cc = console;
479
- cc.time("㊗️ _handlerArrayUpdate findItem");
484
+ cc.time("㊗️ _handlerArrayUpdate findItem" + key);
480
485
  var subtable = findItem(this.runtime.flatInstances, key);
481
- cc.timeLog("㊗️ _handlerArrayUpdate findItem");
486
+ cc.timeLog("㊗️ _handlerArrayUpdate findItem" + key);
482
487
  if (!_instanceof(subtable, RuntimeListControl)) return;
483
488
  // 新增多行方法
484
489
  var createRows = function(len) {
@@ -569,9 +574,10 @@ var Engine = /*#__PURE__*/ function(Watcher) {
569
574
  };
570
575
  _proto._handlerObjectUpdate = function _handlerObjectUpdate(state, key, value, oldValue) {
571
576
  var cc = console;
572
- cc.time("㊗️_handlerObjectUpdate findItem");
577
+ cc.log("㊗️_handlerObjectUpdate findItem" + key, value, oldValue);
578
+ cc.time("㊗️_handlerObjectUpdate findItem" + key);
573
579
  var instance = findItem(this.runtime.flatInstances, key);
574
- cc.timeLog("㊗️_handlerObjectUpdate findItem");
580
+ cc.timeLog("㊗️_handlerObjectUpdate findItem" + key);
575
581
  if (!instance) {
576
582
  return;
577
583
  }