fix: watch回调参数类型不一致
parent
daa2b48efb
commit
b343e80f6e
|
@ -63,7 +63,7 @@ function handleClickItem() {
|
||||||
}
|
}
|
||||||
watch(
|
watch(
|
||||||
() => activeName.value,
|
() => activeName.value,
|
||||||
(name: string) => {
|
(name: string | number) => {
|
||||||
if (name === props.name) {
|
if (name === props.name) {
|
||||||
const { list, uidList } = getParentList()
|
const { list, uidList } = getParentList()
|
||||||
active.value = true
|
active.value = true
|
||||||
|
|
Loading…
Reference in New Issue