refactor: 去除多余的未使用变量
This commit is contained in:
parent
f7bdd0fb20
commit
b231f138df
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user