We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
还未上线
Cannot read properties of null (reading 'children')
npm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
<script> const options = [ { label: '平行光', value: 'TresDirectionalLight', }, { label: '点光源', value: 'TresPointLight', }, { label: '聚光灯', value: 'TresSpotLight', }, { label: '半球光', value: 'TresHemisphereLight', }] const lightSetting = ref([{ type: 'TresDirectionalLight', config: { position: [5, 5, 5], targets: [0, 0, 0], color: '#ffffff', intensity: 1, castShadow: false } } ]) </script> 当我改变 type 值的时候就报错 Cannot read properties of null (reading 'children'),不加 v-light-helper的时候正常不会报错。Reproduction
还未上线
Steps to reproduce
<script> const options = [ { label: '平行光', value: 'TresDirectionalLight', }, { label: '点光源', value: 'TresPointLight', }, { label: '聚光灯', value: 'TresSpotLight', }, { label: '半球光', value: 'TresHemisphereLight', }] const lightSetting = ref([{ type: 'TresDirectionalLight', config: { position: [5, 5, 5], targets: [0, 0, 0], color: '#ffffff', intensity: 1, castShadow: false } } ]) </script> 当我改变 type 值的时候就报错 Cannot read properties of null (reading 'children'),不加 v-light-helper的时候正常不会报错。System Info
Used Package Manager
npm
Code of Conduct
The text was updated successfully, but these errors were encountered: