Browse Source

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

pull/3127/head
invalid w 3 years ago
parent
commit
025cf98f4b
  1. 2
      src/components/SimpleMenu/src/components/MenuItem.vue

2
src/components/SimpleMenu/src/components/MenuItem.vue

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

Loading…
Cancel
Save