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 193cd78 commit cd6926b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/hippy-vue-native-components/src/swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ function registerSwiper(Vue) {
props: {
current: {
type: Number,
defaultValue: 0,
default: 0,
},
needAnimation: {
type: Boolean,
defaultValue: true,
default: true,
},
},
watch: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hippy-vue-native-components/src/ul-refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function registerUlRefresh(Vue) {
props: {
bounceTime: {
type: Number,
defaultValue: 100,
default: 100,
},
},
methods: {
Expand Down

0 comments on commit cd6926b

Please sign in to comment.