diff --git a/driver/js/packages/hippy-vue-native-components/src/swiper.ts b/driver/js/packages/hippy-vue-native-components/src/swiper.ts index 189643c5eac..e6d2cc8b278 100644 --- a/driver/js/packages/hippy-vue-native-components/src/swiper.ts +++ b/driver/js/packages/hippy-vue-native-components/src/swiper.ts @@ -63,11 +63,11 @@ function registerSwiper(Vue: any) { props: { current: { type: Number, - defaultValue: 0, + default: 0, }, needAnimation: { type: Boolean, - defaultValue: true, + default: true, }, }, watch: { diff --git a/driver/js/packages/hippy-vue-native-components/src/ul-refresh.ts b/driver/js/packages/hippy-vue-native-components/src/ul-refresh.ts index 39d37a954c4..1e5784cff18 100644 --- a/driver/js/packages/hippy-vue-native-components/src/ul-refresh.ts +++ b/driver/js/packages/hippy-vue-native-components/src/ul-refresh.ts @@ -49,7 +49,7 @@ function registerUlRefresh(Vue: any) { props: { bounceTime: { type: Number, - defaultValue: 100, + default: 100, }, }, methods: {