Skip to content

Commit

Permalink
fix: number组件无法设置默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed Feb 4, 2020
1 parent b73fe51 commit 8067d74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/EleFormNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default {
props: {
value: {
type: [Number, String],
default: 0
default: null
}
},
data () {
data() {
return {
mockRule: '@integer(-100, 100)'
}
Expand Down

0 comments on commit 8067d74

Please sign in to comment.