render-core 1.2.22 → 1.2.23
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/core/proxy/getProxy.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { update_Render } from "../render/updateRender";
|
|
2
|
+
import { locateInputAddress } from "../utility/sectionUtility";
|
|
2
3
|
/**
|
|
3
4
|
* 获取data对象的代理对象
|
|
4
5
|
* @param obj
|
|
@@ -33,6 +34,7 @@ export function getSetter(data, updater) {
|
|
|
33
34
|
obj[prop] = value;
|
|
34
35
|
//执行更新
|
|
35
36
|
update_Render(this);
|
|
37
|
+
locateInputAddress(this);
|
|
36
38
|
return true;
|
|
37
39
|
};
|
|
38
40
|
return setter.bind(updater);
|
|
@@ -2,7 +2,6 @@ import { afterCmd, cmdUtility, } from "../utility/cmdUtility";
|
|
|
2
2
|
import { injectRefs } from "../inject/inject";
|
|
3
3
|
import { findComponent } from "./delivery";
|
|
4
4
|
import { getTemplate } from "../utility/templateUtility";
|
|
5
|
-
import { locateInputAddress } from "../utility/sectionUtility";
|
|
6
5
|
/**
|
|
7
6
|
* 更新渲染方法
|
|
8
7
|
* @param controller
|
|
@@ -25,8 +24,6 @@ export function update_Render(controller) {
|
|
|
25
24
|
injectRefs(controller);
|
|
26
25
|
//渲染后处理
|
|
27
26
|
afterCmd(controller.root, controller.proto, controller);
|
|
28
|
-
//获取定位
|
|
29
|
-
locateInputAddress(controller);
|
|
30
27
|
//深度渲染
|
|
31
28
|
findComponent(controller.root.children, controller);
|
|
32
29
|
}
|
|
@@ -27,7 +27,7 @@ export function cmdUtility(tagTemplate, proto, controller) {
|
|
|
27
27
|
//渲染text
|
|
28
28
|
resolver_txt(tagTemplate.children, controller.proxyForMethods, controller);
|
|
29
29
|
//绑定数据
|
|
30
|
-
resolver_model(tagTemplate.children, controller.
|
|
30
|
+
resolver_model(tagTemplate.children, controller.raw_data);
|
|
31
31
|
//渲染属性
|
|
32
32
|
resolver_bind(tagTemplate.children, controller.proxyForMethods);
|
|
33
33
|
//solt
|