Skip to content

Commit 9189044

Browse files
committed
fix:合并
2 parents b58042a + cd67e67 commit 9189044

File tree

16 files changed

+48
-45
lines changed

16 files changed

+48
-45
lines changed

.github/workflows/build_ios_app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
build:
1010
runs-on: macos-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v2
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 16
1616

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ jobs:
1212
build-deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v2
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 16
19-
registry-url: 'https://registry.npmjs.org'
2019

2120
- run: yarn install
2221
- run: npm run build

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ env:
88

99
jobs:
1010
build-deploy:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-node@v2
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 16
1717

example/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"react": "18.2.0",
13+
"react": "18.0.0",
1414
"react-native": "0.69.7",
1515
"@uiw/react-native": "3.2.3",
1616
"@uiw/react-native-image-picker": "3.2.3",

example/examples/ios/Podfile.lock

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ PODS:
284284
- React-jsinspector (0.69.7)
285285
- React-logger (0.69.7):
286286
- glog
287+
- react-native-cameraroll (5.3.1):
288+
- React-Core
289+
- react-native-image-picker (5.3.1):
290+
- React-Core
287291
- react-native-safe-area-context (4.3.4):
288292
- RCT-Folly
289293
- RCTRequired
@@ -413,6 +417,8 @@ DEPENDENCIES:
413417
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
414418
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
415419
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
420+
- "react-native-cameraroll (from `../node_modules/@react-native-camera-roll/camera-roll`)"
421+
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
416422
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
417423
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
418424
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
@@ -489,6 +495,10 @@ EXTERNAL SOURCES:
489495
:path: "../node_modules/react-native/ReactCommon/jsinspector"
490496
React-logger:
491497
:path: "../node_modules/react-native/ReactCommon/logger"
498+
react-native-cameraroll:
499+
:path: "../node_modules/@react-native-camera-roll/camera-roll"
500+
react-native-image-picker:
501+
:path: "../node_modules/react-native-image-picker"
492502
react-native-safe-area-context:
493503
:path: "../node_modules/react-native-safe-area-context"
494504
React-perflogger:
@@ -559,6 +569,8 @@ SPEC CHECKSUMS:
559569
React-jsiexecutor: a73bec0218ba959fc92f811b581ad6c2270c6b6f
560570
React-jsinspector: 8134ee22182b8dd98dc0973db6266c398103ce6c
561571
React-logger: 1e7ac909607ee65fd5c4d8bea8c6e644f66b8843
572+
react-native-cameraroll: f3050460fe1708378698c16686bfaa5f34099be2
573+
react-native-image-picker: ec9b713e248760bfa0f879f0715391de4651a7cb
562574
react-native-safe-area-context: dfe5aa13bee37a0c7e8059d14f72ffc076d120e9
563575
React-perflogger: 8e832d4e21fdfa613033c76d58d7e617341e804b
564576
React-RCTActionSheet: 9ca778182a9523991bff6381045885b6e808bb73
@@ -580,6 +592,6 @@ SPEC CHECKSUMS:
580592
Yoga: 0b84a956f7393ef1f37f3bb213c516184e4a689d
581593
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
582594

583-
PODFILE CHECKSUM: 36745b97236db17730b2d687b78fe071003a4a52
595+
PODFILE CHECKSUM: d4d2826c3f25f928be9b489778a443d49118b6c5
584596

585597
COCOAPODS: 1.11.3

example/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@react-navigation/native": "~6.0.11",
1515
"@react-navigation/stack": "~6.2.2",
1616
"@uiw/react-native": "3.2.3",
17-
"react": "18.2.0",
17+
"react": "18.0.0",
1818
"react-native": "0.69.7",
1919
"react-native-gesture-handler": "~2.5.0",
2020
"react-native-safe-area-context": "~4.3.1",

example/examples/src/routes.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,6 @@ export const stackPageData: Routes[] = [
362362
description: 'TransitionImage 图片过渡',
363363
},
364364
},
365-
// {
366-
// name: 'Card',
367-
// component: require('./routes/Card').default,
368-
// params: {
369-
// title: 'Card 卡片',
370-
// description: 'QuickList 最基础的卡片容器,可承载文字、列表、图片、段落。',
371-
// },
372-
// },
373365
{
374366
name: 'Progress',
375367
component: require('./routes/Progress').default,

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"babel-preset-react-native": "4.0.1",
5454
"fs-extra": "~10.1.0",
5555
"metro-react-native-babel-preset": "0.73.6",
56-
"react": "18.2.0",
56+
"react": "18.0.0",
5757
"react-native": "0.69.7"
5858
},
5959
"dependencies": {
@@ -65,8 +65,8 @@
6565
"typescript": "^4.7.4"
6666
},
6767
"resolutions": {
68-
"react": "~18.2.0",
69-
"react-dom": "~18.2.0"
68+
"react": "18.0.0",
69+
"react-dom": "18.0.0"
7070
},
7171
"workspaces": {
7272
"packages": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@types/react-native": "0.69.1",
5858
"@uiw/icons": "2.5.3",
5959
"@validator.tool/hook": "2.2.4",
60-
"ahooks": "2.10.14",
60+
"ahooks": "3.7.6",
6161
"dayjs":"~1.11.7",
6262
"color": "4.2.3",
6363
"lodash": "4.17.21",

packages/core/src/DatePicker/components/basic-date-picker/useDatePicker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useMemo } from 'react';
2-
import { usePersistFn } from 'ahooks';
2+
import { useMemoizedFn } from 'ahooks';
33
import dayjs, { Dayjs } from 'dayjs';
44
import { ItemValue } from '../../../Picker/components/WheelPicker/type';
55
import { CascadePickerItemProps, DatePickerPropsBase } from './type';
@@ -320,8 +320,8 @@ export default function useDatePicker({
320320
};
321321

322322
return {
323-
getValueCols: usePersistFn(getValueCols),
324-
onValueChange: usePersistFn(onValueChange),
323+
getValueCols: useMemoizedFn(getValueCols),
324+
onValueChange: useMemoizedFn(onValueChange),
325325
};
326326
}
327327

0 commit comments

Comments
 (0)