Skip to content

Commit

Permalink
chore: change lodash import
Browse files Browse the repository at this point in the history
  • Loading branch information
myronliu347 committed Sep 14, 2024
1 parent a141ce7 commit 977e306
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/tree-select/useTreeSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import {
SetupContext, ref, computed, toRefs, watch,
} from '@vue/composition-api';
import isFunction from 'lodash/isFunction';
import { get as lodashGet, set as lodashSet } from 'lodash';
import lodashGet from 'lodash/get';
import lodashSet from 'lodash/set';
import { RemoveOptions, TdTreeSelectProps, TreeSelectValue } from './type';
import { TreeProps, TreeInstanceFunctions, TreeNodeValue } from '../tree';
import { usePrefixClass, useConfig } from '../hooks/useConfig';
Expand Down
3 changes: 2 additions & 1 deletion src/tree-select/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { get as lodashGet, set as lodashSet } from 'lodash';
import lodashGet from 'lodash/get';
import lodashSet from 'lodash/set';
import { TreeOptionData, TreeKeysType } from '../common';

export function getNodeDataByValue(
Expand Down

0 comments on commit 977e306

Please sign in to comment.