diff --git a/src/utils/index.js b/src/utils/index.js index 46dc8f66..bfff4dda 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -278,7 +278,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 => {