pawajs 1.4.17 → 1.4.18
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/index.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -336,6 +336,7 @@ let stateContext = {
|
|
|
336
336
|
_template: '',
|
|
337
337
|
_serializedData:{},
|
|
338
338
|
_static: [],
|
|
339
|
+
_id:""
|
|
339
340
|
}
|
|
340
341
|
|
|
341
342
|
export const getCurrentContext = () => {
|
|
@@ -1233,6 +1234,7 @@ export const render = (el, contexts = {}, notRender, isName) => {
|
|
|
1233
1234
|
number.index = isIndex
|
|
1234
1235
|
isIndex++
|
|
1235
1236
|
if (number.notRender !== null && isIndex <= number.notRender) return
|
|
1237
|
+
if (child.hasAttribute('by'))return
|
|
1236
1238
|
render(child, context, number, isName)
|
|
1237
1239
|
})
|
|
1238
1240
|
el._callMount()
|