Skip to content

Commit

Permalink
fix(SubMenu): 修复openIcon的ts错误
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed Sep 25, 2023
1 parent 314787f commit 6e8ad37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adorn-ui/src/Menu/SubMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
itemClick = false
}
}
$: openIcon = `arrow-${hasSubmenu ? 'right' : open ? 'up' : 'down'}-s`
$: openIcon = `arrow-${hasSubmenu ? 'right' : open ? 'up' : 'down'}-s` as IconName
let className = ''
export { className as class }
Expand Down

0 comments on commit 6e8ad37

Please sign in to comment.