From 6b10d8fe686f5196027f8b7fa5e36768a02fea8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E8=90=BD=28YangLei=29?= Date: Mon, 28 Jun 2021 16:26:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E5=A4=9A=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/action_button/index.vue | 68 ++++++++++++---------- src/components/popconfirm_delete/index.vue | 8 ++- src/components/table/index.vue | 11 ++-- src/pages/frame/store/accountModule.js | 2 +- src/pages/system/view/task/index.vue | 53 ++++++++++++++++- src/utils/index.js | 2 + 6 files changed, 100 insertions(+), 44 deletions(-) diff --git a/src/components/action_button/index.vue b/src/components/action_button/index.vue index 378a568..2506dc1 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 9419b3d..2bb55c6 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'; -- GitLab