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