render-core 1.0.18 → 1.0.19

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.
@@ -2,7 +2,7 @@ var Controller = /** @class */ (function () {
2
2
  //构造函数
3
3
  function Controller() {
4
4
  this.link = new Map();
5
- this.to = [];
5
+ this.to = Array();
6
6
  this.raw_data = {};
7
7
  }
8
8
  //接收器
@@ -4,6 +4,7 @@ var PageController = /** @class */ (function () {
4
4
  //注入系统方法
5
5
  this.methods = Reflect.get(window, "pageMethods");
6
6
  this.link = new Map();
7
+ this.to = Array();
7
8
  }
8
9
  //接收器
9
10
  PageController.prototype.receiver = function (method) {
@@ -112,6 +112,7 @@ 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);
115
116
  //深度渲染
116
117
  findComponent(controller.root.children, controller);
117
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "The router for render-js",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",