1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-02 14:20:21 +08:00

fix: lint fix

This commit is contained in:
zclzone
2024-07-19 14:55:02 +08:00
parent 7dde0bbfc6
commit f28e3a946e
11 changed files with 25 additions and 12 deletions

View File

@@ -119,7 +119,8 @@ function handleHideDropdown() {
function handleSelect(key) {
const actionFn = actionMap.get(key)
actionFn && actionFn()
if (typeof actionFn === 'function')
actionFn()
handleHideDropdown()
}
</script>