自己写树形组件时报的这个问题。
问题非常奇怪,找不到哪里有访问content这个属性。
解决办法也非常奇怪,我只要将
<script> export default { name: 'TreeNode' } </script>
改为
<script lang="ts"> export default { name: 'TreeNode' } </script>
就行了。
- properties TypeError content reading Syntaxproperties typeerror content reading properties typeerror undefined reading properties typeerror reading cannot properties typeerror express reading properties typeerror undefined uncaught addeventlistener typeerror uncaught property typeerror undefined property cannot typeerror non-mysql undefined property typeerror undefined uncaught property vuedraggable typescript properties typeerror