render-core 1.0.73 → 1.0.74
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/cmd/v-solt.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export function resolver_solt(tagTemplate, controller) {
|
|
7
7
|
if (tagTemplate.hasChildNodes()) {
|
|
8
|
-
if (tagTemplate.children) {
|
|
8
|
+
if (tagTemplate.children.length > 0) {
|
|
9
9
|
for (var i = 0; i < tagTemplate.children.length; i++) {
|
|
10
10
|
if (tagTemplate.children[i].nodeName.toUpperCase() === "SOLT") {
|
|
11
11
|
if (tagTemplate.children[i].hasAttribute("name")) {
|
|
@@ -18,7 +18,7 @@ export function post_render(proto, parent, child, link, tagTemplate) {
|
|
|
18
18
|
//获取控制对象
|
|
19
19
|
var controller = new Controller();
|
|
20
20
|
//解析solt
|
|
21
|
-
resolver_solt(
|
|
21
|
+
resolver_solt(child, controller);
|
|
22
22
|
//控制对象预处理
|
|
23
23
|
controllerCycleTypeTwo(controller, proto, child, link, tagTemplate);
|
|
24
24
|
//beforeRender
|
|
@@ -18,7 +18,7 @@ export function init_render(proto, parent, child, link, tagTemplate) {
|
|
|
18
18
|
//获取控制对象
|
|
19
19
|
var controller = new Controller();
|
|
20
20
|
//解析solt
|
|
21
|
-
resolver_solt(
|
|
21
|
+
resolver_solt(child, controller);
|
|
22
22
|
//控制对象预处理
|
|
23
23
|
controllerCycleTypeOne(controller, proto, child, link, tagTemplate);
|
|
24
24
|
//beforeRender
|
package/core/render/rawRender.js
CHANGED
|
@@ -18,7 +18,7 @@ export function raw_render(proto, parent, child, link, tagTemplate) {
|
|
|
18
18
|
//获取控制对象
|
|
19
19
|
var controller = new Controller();
|
|
20
20
|
//解析solt
|
|
21
|
-
resolver_solt(
|
|
21
|
+
resolver_solt(child, controller);
|
|
22
22
|
//控制对象预处理
|
|
23
23
|
controllerCycleTypeTwo(controller, proto, child, link, tagTemplate);
|
|
24
24
|
//beforeRender
|