Skip to content

Commit

Permalink
chore(MenuItem): watch回调参数类型不一致
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 committed Oct 10, 2023
1 parent 6e33c26 commit 025cf98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SimpleMenu/src/components/MenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
}
watch(
() => activeName.value,
(name: string) => {
(name: string | number) => {
if (name === props.name) {
const { list, uidList } = getParentList();
active.value = true;
Expand Down

0 comments on commit 025cf98

Please sign in to comment.