Skip to content

Commit cf0f1af

Browse files
author
lizmlzhou
committed
fix(vue): fix compoent default prop value
1 parent 245e7af commit cf0f1af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

driver/js/packages/hippy-vue-native-components/src/swiper.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ function registerSwiper(Vue: any) {
6363
props: {
6464
current: {
6565
type: Number,
66-
defaultValue: 0,
66+
default: 0,
6767
},
6868
needAnimation: {
6969
type: Boolean,
70-
defaultValue: true,
70+
default: true,
7171
},
7272
},
7373
watch: {

driver/js/packages/hippy-vue-native-components/src/ul-refresh.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function registerUlRefresh(Vue: any) {
4949
props: {
5050
bounceTime: {
5151
type: Number,
52-
defaultValue: 100,
52+
default: 100,
5353
},
5454
},
5555
methods: {

0 commit comments

Comments
 (0)