Skip to content

Commit d3e31df

Browse files
committed
chore: change import path
1 parent f569369 commit d3e31df

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
},
4545
"dependencies": {
4646
"@rc-component/select": "~1.0.0",
47+
"@rc-component/tree": "~1.0.0",
4748
"@rc-component/util": "^1.2.1",
48-
"classnames": "^2.3.1",
49-
"rc-tree": "~5.13.1"
49+
"classnames": "^2.3.1"
5050
},
5151
"devDependencies": {
5252
"@rc-component/father-plugin": "^2.0.2",

src/hooks/useEntities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
2-
import { convertDataToEntities } from 'rc-tree/lib/utils/treeUtil';
2+
import { convertDataToEntities } from '@rc-component/tree/lib/utils/treeUtil';
33
import type { DefaultOptionType, InternalFieldNames } from '../Cascader';
4-
import type { DataEntity, DataNode } from 'rc-tree/lib/interface';
4+
import type { DataEntity, DataNode } from '@rc-component/tree/lib/interface';
55
import { VALUE_SPLIT } from '../utils/commonUtil';
66

77
export interface OptionsInfo {

src/hooks/useSelect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
1+
import { conductCheck } from '@rc-component/tree/lib/utils/conductUtil';
22
import type { InternalValueType, ShowCheckedStrategy, SingleValueType } from '../Cascader';
33
import { toPathKey, toPathKeys } from '../utils/commonUtil';
44
import { formatStrategyValues } from '../utils/treeUtil';

src/hooks/useValues.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { DataEntity } from 'rc-tree/lib/interface';
2-
import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
1+
import type { DataEntity } from '@rc-component/tree/lib/interface';
2+
import { conductCheck } from '@rc-component/tree/lib/utils/conductUtil';
33
import * as React from 'react';
44
import type { SingleValueType } from '../Cascader';
55
import { toPathKeys } from '../utils/commonUtil';

0 commit comments

Comments
 (0)