You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2021/02/08 14:51:00 UTC

[GitHub] [incubator-weex] simonwu-os opened a new issue #3332: Weex SDK 0.29 dynamic component with any props will issue an error.

simonwu-os opened a new issue #3332:
URL: https://github.com/apache/incubator-weex/issues/3332


   ## 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
   <!-- 
   * Device: Any android phone.
   * OS: Android 9 or Android 10.
   * Version 0.29
   * Build from source [e.g. yes/no] --> yes
   
   ## Expected behavior
   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org