diff --git a/src/components/action_button/index.vue b/src/components/action_button/index.vue index 378a5684fe8522877aea8dde7826a5fc978f17b1..2506dc1d832375e36148f3ee76c6fe242d392339 100644 --- a/src/components/action_button/index.vue +++ b/src/components/action_button/index.vue @@ -1,47 +1,44 @@ diff --git a/src/utils/index.js b/src/utils/index.js index 9419b3d2ed71a389161fa0ab471f42275cacc8b4..2bb55c6ffa5be5c967364db2b1547f09ee8df883 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -29,3 +29,5 @@ export function convertListToTree(menuList, filterMenu = false) { } export function EMPTY_FUN() {} + +export const isFunction = val => typeof val === 'function';