refactor: 去除多余的未使用变量

This commit is contained in:
ulleo 2024-11-19 17:31:24 +08:00
parent f7bdd0fb20
commit b231f138df

View File

@ -168,7 +168,7 @@ const firstChangeActiveName = ref(false)
watch(
() => tablePaneList.value.length,
(v1, v2) => {
() => {
if (tablePaneList.value.length > 0 && !firstChangeActiveName.value) {
firstChangeActiveName.value = true
activeName.value = tablePaneList.value[0].name