diff --git a/src/views/basic.vue b/src/views/basic.vue deleted file mode 100644 index e9a91318c75c23bd3f0f5711ad2f1b9f0dab6f15..0000000000000000000000000000000000000000 --- a/src/views/basic.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - 环境光 - - - - 平行光 - - - - 点光源 - - - - 聚光灯 - - - - - - - - - - diff --git a/src/views/light-option.vue b/src/views/light-option.vue index 6bb131f7014aa992da8af7c531de4e1f3d57d5ba..af25c54fe2500892e4036f93cc9617a493615875 100644 --- a/src/views/light-option.vue +++ b/src/views/light-option.vue @@ -1,7 +1,7 @@ Light Options {{test}} - + {{l.type}} 强度 @@ -21,7 +21,7 @@ const props = defineProps({ props.lights.forEach(l => { l._intensity = l.intensity }) -const test = reactive(1) +const lights = reactive(props.lights)