Skip to content

Commit

Permalink
fix(vue): fix compoent default prop value
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmlzhou committed Nov 26, 2024
1 parent 245e7af commit cf0f1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions driver/js/packages/hippy-vue-native-components/src/swiper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ function registerSwiper(Vue: any) {
props: {
current: {
type: Number,
defaultValue: 0,
default: 0,
},
needAnimation: {
type: Boolean,
defaultValue: true,
default: true,
},
},
watch: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function registerUlRefresh(Vue: any) {
props: {
bounceTime: {
type: Number,
defaultValue: 100,
default: 100,
},
},
methods: {
Expand Down

0 comments on commit cf0f1af

Please sign in to comment.