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 => {