render-core 1.3.58 → 1.3.59
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.
|
@@ -29,7 +29,7 @@ export function resolver_map_multi(elements, data) {
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
elements[i].innerText = data[property];
|
|
31
31
|
}
|
|
32
|
-
if (elements[i]) {
|
|
32
|
+
if (elements[i].hasAttribute("@map-document")) {
|
|
33
33
|
//检查v-for-item
|
|
34
34
|
if (elements[i].hasAttribute("@map-document")) {
|
|
35
35
|
var property = elements[i].getAttribute("@map-document");
|
|
@@ -37,7 +37,7 @@ export function resolver_map_multi(elements, data) {
|
|
|
37
37
|
resolver_map_single(elements[i], data[property]);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
if (elements[i]) {
|
|
40
|
+
if (elements[i].hasAttribute("@map-list")) {
|
|
41
41
|
//检查v-for-array
|
|
42
42
|
if (elements[i].hasAttribute("@map-list")) {
|
|
43
43
|
var property = elements[i].getAttribute("@map-list");
|