Skip to content

Commit 4c41ed2

Browse files
committed
fix(TransitionImage): 图片组件预览图地址失效修复
1 parent e37e77f commit 4c41ed2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/core/src/Stepper/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function Demo() {
8383
value={value}
8484
disabled={true}
8585
width={150}
86-
color={{color: '#ccc',borderColor: '#999',controlColor: 'red',valueColor: '#000'}}
8786
onChange={(value)=>{
8887
setValue(value)
8988
}}

packages/core/src/TransitionImage/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Demo() {
1818
return (
1919
<Fragment>
2020
<TransitionImage
21-
source={{ uri: 'https://img11.51tietu.net/pic/2016-071418/20160714181543xyu10ukncwf221991.jpg' }}
21+
source={{ uri: 'https://avatars.githubusercontent.com/u/24369183?v=4' }}
2222
style={{ width: 200, height: 200, }}
2323
onPress={()=> console.log('点击图片回调事件')}
2424
onLongPress={()=> console.log('长按组件回调事件')}
@@ -41,10 +41,10 @@ function Demo() {
4141
return (
4242
<Fragment>
4343
<TransitionImage
44-
source={{ uri: 'https://img11.51tietu.net/pic/2016-071418/20160714181543xyu10ukncwf221991.jpg' }}
44+
source={{ uri: 'https://avatars.githubusercontent.com/u/24369183?v=4' }}
4545
style={{ width: 200, height: 200, }}
4646
PlaceholderContent={<ActivityIndicator />}
47-
placeholderStyle={{backgroundColor: 'red'}}
47+
placeholderStyle={{backgroundColor: '#000a'}}
4848
containerStyle={{backgroundColor:'#eee',}}
4949
transition={true}
5050
transitionDuration={1000}

0 commit comments

Comments
 (0)