feat(Calendar): add color prop

This commit is contained in:
陈嘉涵
2019-12-27 18:01:51 +08:00
committed by neverland
parent 56e450f29e
commit 3250804791
10 changed files with 203 additions and 5 deletions
+3
View File
@@ -18,6 +18,7 @@ import Header from './components/Header';
export default createComponent({
props: {
title: String,
color: String,
value: Boolean,
formatter: Function,
defaultDate: [Date, Array],
@@ -228,6 +229,7 @@ export default createComponent({
refInFor
date={date}
type={this.type}
color={this.color}
minDate={this.minDate}
maxDate={this.maxDate}
showMark={this.showMark}
@@ -257,6 +259,7 @@ export default createComponent({
round
block
type="danger"
color={this.color}
class={bem('confirm')}
disabled={this.buttonDisabled}
onClick={this.onConfirm}