diff --git a/src/message/message.vue b/src/message/message.vue index 423729b96..354b027f2 100644 --- a/src/message/message.vue +++ b/src/message/message.vue @@ -38,7 +38,8 @@ import { onMounted, } from 'vue'; import { CheckCircleFilledIcon, CloseIcon, InfoCircleFilledIcon } from 'tdesign-icons-vue-next'; -import { isObject, isString } from 'lodash'; +import isObject from 'lodash/isObject'; +import isString from 'lodash/isString'; import Link from '../link'; import messageProps from './props'; diff --git a/src/upload/hooks/useUpload.ts b/src/upload/hooks/useUpload.ts index 5082cc9cf..5241b5972 100644 --- a/src/upload/hooks/useUpload.ts +++ b/src/upload/hooks/useUpload.ts @@ -1,5 +1,6 @@ import { computed, h, ref, toRefs, ComputedRef } from 'vue'; -import { isFunction, isString } from 'lodash'; +import isFunction from 'lodash/isFunction'; +import isString from 'lodash/isString'; import { SizeLimitObj, TdUploadProps, UploadChangeContext, UploadFile, UploadRemoveContext } from '../type'; import { useVModel } from '../../shared'; import {