In sdk 0.29, the dynamic component can't have any props. If you set props it will issue such as error.
"D/jsLog: TypeError: undefined is not an object (evaluating 'n.setClassList')__ERROR"
using weex playgroud with sdk 0.29, you will see the bug. The count is not increased as the time elapased.
But it works in the sdk 0.26.
If the dynamic component has no any props, it works. but if it has any props ,it failed.
Environment
Device: Any android phone.
OS: Android 9 or Android 10.
Version 0.29
Build from source [e.g. yes/no] yes
Expected behavior
if it works, it will update the count value as the time elapsed. just as running the code in the web .
when the dynamic component has any props, it issue the error:
"D/jsLog: TypeError: undefined is not an object (evaluating 'n.setClassList')__ERROR"
and the display is not correctly , such as computed props will not be called again. It seems the page is stopping.
Describe the bug
In sdk 0.29, the dynamic component can't have any props. If you set props it will issue such as error. "D/jsLog: TypeError: undefined is not an object (evaluating 'n.setClassList')__ERROR"
To Reproduce
see the source: http://dotwe.org/vue/6c9f656121f0e849d32a028426c57573
using weex playgroud with sdk 0.29, you will see the bug. The count is not increased as the time elapased. But it works in the sdk 0.26. If the dynamic component has no any props, it works. but if it has any props ,it failed.
Environment
Expected behavior
if it works, it will update the count value as the time elapsed. just as running the code in the web . when the dynamic component has any props, it issue the error: "D/jsLog: TypeError: undefined is not an object (evaluating 'n.setClassList')__ERROR" and the display is not correctly , such as computed props will not be called again. It seems the page is stopping.
Screenshots
You can using weex playgroud with sdk 0.29 to scan the QR Code in the page http://dotwe.org/vue/6c9f656121f0e849d32a028426c57573.