Skip to content

Commit

Permalink
fix(Calendar): confirmDisabledText default value (#4490)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Sep 15, 2021
1 parent ee16675 commit 8629da1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/pages/calendar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Page({
formatter: null,
showConfirm: true,
confirmText: '确定',
confirmDisabledText: null,
confirmDisabledText: '确定',
});
},

Expand Down
5 changes: 4 additions & 1 deletion packages/calendar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ VantComponent({
type: String,
value: '确定',
},
confirmDisabledText: {
type: String,
value: '确定',
},
rangePrompt: String,
showRangePrompt: {
type: Boolean,
Expand All @@ -60,7 +64,6 @@ VantComponent({
},
},
allowSameDay: Boolean,
confirmDisabledText: String,
type: {
type: String,
value: 'single',
Expand Down

0 comments on commit 8629da1

Please sign in to comment.