数据结构优化

This commit is contained in:
李琦
2026-01-20 08:58:44 +08:00
parent 34fe612aab
commit e7839795fb
10 changed files with 190 additions and 180 deletions

View File

@@ -75,7 +75,7 @@
</template>
<script setup lang="ts">
import { ref, watch, onMounted, computed, nextTick } from 'vue'
import { ref, watch, computed, nextTick } from 'vue'
import hljs from 'highlight.js'
const props = defineProps<{
@@ -90,7 +90,6 @@ const emit = defineEmits(['close'])
const isAnimating = ref(true)
const mouseX = ref(0)
const mouseY = ref(0)
const containerRect = ref<DOMRect | null>(null)
const codeBlock = ref<HTMLElement | null>(null)
const languageClass = computed(() => {