[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"

[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"

 

  See ta, people always evoke the restless mind, breathing becomes rapid, some dry lips, eyes focused on the moment, the idea is to reach the realm of ecstasy, because the boss said, bug does not change today will not be able to eat finished dinner wow!

 

  See this error is the most people confused, rendering error, to target what caused the label, why label caused such an error, the error code can be positioned with the exclusion, the error code commented out, if you do not error, and that is commented code out of the question .

  In general, you should not want to be variable to the desired value, resulting in a variety of situations variable has no value, such as the initial value is not the lack of argument, but such a complex subject which has no property array, uncertain data sex can lead to such a rendering error.

  Finally, to those labels uncertain data binding coupled with v-if, if there is no value would not let the rendering, but also save rendering error.

 

  

  

 

Guess you like

Origin www.cnblogs.com/yang-shun/p/11759193.html