Skip to content

Commit f6edf91

Browse files
committed
fix: 修改组件引入路径
1 parent ffba77f commit f6edf91

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/packages/picker/picker.taro.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ import { View } from '@tarojs/components'
99
import classNames from 'classnames'
1010
import isEqual from 'react-fast-compare'
1111
import {
12-
PickerView,
1312
PickerOptions,
1413
PickerValue,
1514
PickerOptionItem,
1615
PickerOnChangeCallbackParameter,
17-
SafeArea,
18-
Popup,
19-
PopupProps,
20-
} from '@nutui/nutui-react-taro'
16+
} from '@/packages/pickerview/types'
17+
import PickerView from '@/packages/pickerview/index.taro'
18+
import Popup, { PopupProps } from '@/packages/popup/index.taro'
19+
import SafeArea from '@/packages/safearea/index.taro'
2120
import useRefs from '@/hooks/use-refs'
2221
import { useConfig } from '@/packages/configprovider/index.taro'
2322
import { usePropsValue } from '@/hooks/use-props-value'

src/packages/picker/picker.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import React, {
88
import classNames from 'classnames'
99
import isEqual from 'react-fast-compare'
1010
import {
11-
PickerView,
1211
PickerOptions,
1312
PickerValue,
1413
PickerOptionItem,
1514
PickerOnChangeCallbackParameter,
16-
SafeArea,
17-
Popup,
18-
PopupProps,
19-
} from '@nutui/nutui-react'
15+
} from '@/packages/pickerview/types'
16+
import PickerView from '@/packages/pickerview/index'
17+
import Popup, { PopupProps } from '@/packages/popup/index'
18+
import SafeArea from '@/packages/safearea/index'
2019
import useRefs from '@/hooks/use-refs'
2120
import { useConfig } from '@/packages/configprovider'
2221
import { usePropsValue } from '@/hooks/use-props-value'

0 commit comments

Comments
 (0)