✨ feat(App): 初始化 `selectIndexWidth` 为 0
This commit is contained in:
parent
2530f6a976
commit
a2acabc471
|
@ -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
|
||||||
|
|
Reference in New Issue