refactor(vue): remove unnecessary defineProps import

The `defineProps` macro is automatically available in `<script setup>` and no longer needs to be imported. This commit removes the redundant import statements to align with modern Vue best practices and resolve compiler warnings.
This commit is contained in:
wencaizhang
2025-07-18 15:14:54 +08:00
parent f6c5f2ceda
commit 9dddf4a150

View File

@@ -26,7 +26,7 @@ import {
type WebGLRendererParameters type WebGLRendererParameters
} from 'three'; } from 'three';
import { RoomEnvironment } from 'three/examples/jsm/environments/RoomEnvironment.js'; import { RoomEnvironment } from 'three/examples/jsm/environments/RoomEnvironment.js';
import { defineProps, onMounted, onUnmounted, ref } from 'vue'; import { onMounted, onUnmounted, ref } from 'vue';
gsap.registerPlugin(Observer); gsap.registerPlugin(Observer);