feat(App): 初始化 `selectIndexWidth` 为 0

This commit is contained in:
conglinyizhi 2024-10-06 21:02:16 +08:00
parent 2530f6a976
commit a2acabc471
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
const selectIndex = ref(-1) const selectIndex = ref(-1)
const selectIndexWidth = ref(1) const selectIndexWidth = ref(0)
function getClassName(i) { function getClassName(i) {
const min = selectIndex.value const min = selectIndex.value