render-core 1.0.11 → 1.0.13
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/class/controller.js +1 -0
- package/library/render/render.js +1 -2
- package/package.json +1 -1
package/class/controller.js
CHANGED
package/library/render/render.js
CHANGED
|
@@ -50,7 +50,7 @@ export function post_render(proto, parent, child, link, tagTemplate) {
|
|
|
50
50
|
//复制原始数据对象到控制对象
|
|
51
51
|
controller.raw_data = Object.create(proto.getData());
|
|
52
52
|
//向raw_data中注入元数据
|
|
53
|
-
|
|
53
|
+
inject(controller, tagTemplate);
|
|
54
54
|
//保持数据代理对象
|
|
55
55
|
controller.proxyForMethods = getProxyObject(controller.raw_data, controller);
|
|
56
56
|
//注入commit
|
|
@@ -112,7 +112,6 @@ export function raw_render(proto, parent, child, link, tagTemplate) {
|
|
|
112
112
|
//afterRender
|
|
113
113
|
var afterRender = proto.getAfterRender().bind(controller.raw_data);
|
|
114
114
|
afterRender();
|
|
115
|
-
link.to.push(controller);
|
|
116
115
|
//深度渲染
|
|
117
116
|
findComponent(controller.root.children, controller);
|
|
118
117
|
}
|