fix: watch回调参数类型不一致

pull/38/head
xingyu 2023-10-11 09:31:11 +08:00
parent daa2b48efb
commit b343e80f6e
1 changed files with 1 additions and 1 deletions

View File

@ -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