fix(Calendar): confirmDisabledText default value (#4490)

This commit is contained in:
neverland 2021-09-15 15:38:21 +08:00 committed by GitHub
parent ee166756c1
commit 8629da1b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,7 @@ Page({
formatter: null, formatter: null,
showConfirm: true, showConfirm: true,
confirmText: '确定', confirmText: '确定',
confirmDisabledText: null, confirmDisabledText: '确定',
}); });
}, },

View File

@ -47,6 +47,10 @@ VantComponent({
type: String, type: String,
value: '确定', value: '确定',
}, },
confirmDisabledText: {
type: String,
value: '确定',
},
rangePrompt: String, rangePrompt: String,
showRangePrompt: { showRangePrompt: {
type: Boolean, type: Boolean,
@ -60,7 +64,6 @@ VantComponent({
}, },
}, },
allowSameDay: Boolean, allowSameDay: Boolean,
confirmDisabledText: String,
type: { type: {
type: String, type: String,
value: 'single', value: 'single',