chore(MenuItem): watch回调参数类型不一致

This commit is contained in:
invalid w 2023-10-10 12:25:06 +08:00
parent 6e33c26893
commit 025cf98f4b

View File

@ -83,7 +83,7 @@
}
watch(
() => activeName.value,
(name: string) => {
(name: string | number) => {
if (name === props.name) {
const { list, uidList } = getParentList();
active.value = true;