@byteluck-fe/model-driven-engine 1.7.6-bete.11 → 1.7.6-bete.12
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/dist/esm/common/Engine.js +8 -6
- package/dist/index.umd.js +5 -5
- package/package.json +3 -3
|
@@ -436,10 +436,11 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
436
436
|
_proto._proxyStateBeforeSetCallback = function _proxyStateBeforeSetCallback(state, key, newValue, oldValue) {
|
|
437
437
|
var _this = this;
|
|
438
438
|
var cc = console;
|
|
439
|
-
|
|
440
|
-
cc.
|
|
439
|
+
var now = Date.now();
|
|
440
|
+
cc.log("㊗️_proxyStateBeforeSetCallback findItem " + key, newValue, oldValue);
|
|
441
|
+
cc.time("㊗️_proxyStateBeforeSetCallback findItem " + key + " " + now);
|
|
441
442
|
var instance = findItem(this.runtime.flatInstances, key);
|
|
442
|
-
cc.timeLog("㊗️_proxyStateBeforeSetCallback findItem " + key + " " +
|
|
443
|
+
cc.timeLog("㊗️_proxyStateBeforeSetCallback findItem " + key + " " + now);
|
|
443
444
|
// 找不到控件说明不是改动控件上的字段,直接通过
|
|
444
445
|
if (!instance) {
|
|
445
446
|
return newValue;
|
|
@@ -574,10 +575,11 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
574
575
|
};
|
|
575
576
|
_proto._handlerObjectUpdate = function _handlerObjectUpdate(state, key, value, oldValue) {
|
|
576
577
|
var cc = console;
|
|
577
|
-
|
|
578
|
-
cc.
|
|
578
|
+
var now = Date.now();
|
|
579
|
+
cc.log("㊗️_handlerObjectUpdate findItem " + key, value, oldValue);
|
|
580
|
+
cc.time("㊗️_handlerObjectUpdate findItem " + key + " " + now);
|
|
579
581
|
var instance = findItem(this.runtime.flatInstances, key);
|
|
580
|
-
cc.timeLog("㊗️_handlerObjectUpdate findItem " + key + " " +
|
|
582
|
+
cc.timeLog("㊗️_handlerObjectUpdate findItem " + key + " " + now);
|
|
581
583
|
if (!instance) {
|
|
582
584
|
return;
|
|
583
585
|
}
|