Skip to content

Commit

Permalink
fix: 修正 lodash 引入 (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
fennghuang authored Nov 15, 2023
1 parent 3bead5e commit 5e54124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/message/message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 2 additions & 1 deletion src/upload/hooks/useUpload.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 5e54124

Please sign in to comment.