From ae6bbf78584a0f61477ed941674812177f525253 Mon Sep 17 00:00:00 2001 From: Yuga Sun Date: Thu, 21 Mar 2019 15:14:15 +0800 Subject: [PATCH 01/11] fix[Utils]: fixed deepClone error msg (#1748) --- src/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.js b/src/utils/index.js index ebe58ff8..1df0f45d 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -274,7 +274,7 @@ export function debounce(func, wait, immediate) { */ export function deepClone(source) { if (!source && typeof source !== 'object') { - throw new Error('error arguments', 'shallowClone') + throw new Error('error arguments', 'deepClone') } const targetObj = source.constructor === Array ? [] : {} Object.keys(source).forEach(keys => { From 3100d0cff4831aa1efed60cf7686c53a229a3d10 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 22 Mar 2019 15:11:22 +0800 Subject: [PATCH 02/11] fix[Sidebar]: fixed v-if meta bug --- src/views/layout/components/Sidebar/SidebarItem.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/layout/components/Sidebar/SidebarItem.vue b/src/views/layout/components/Sidebar/SidebarItem.vue index 9664ffb6..42c167fa 100644 --- a/src/views/layout/components/Sidebar/SidebarItem.vue +++ b/src/views/layout/components/Sidebar/SidebarItem.vue @@ -2,9 +2,9 @@