feat(GoodsActionButton): add color prop (#4255)

This commit is contained in:
neverland
2019-08-27 17:13:12 +08:00
committed by GitHub
parent 339cbdc1dd
commit a842da803f
7 changed files with 84 additions and 132 deletions
+2
View File
@@ -12,6 +12,7 @@ export default createComponent({
...routeProps,
type: String,
text: String,
color: String,
loading: Boolean,
disabled: Boolean
},
@@ -48,6 +49,7 @@ export default createComponent({
square
size="large"
type={this.type}
color={this.color}
loading={this.loading}
disabled={this.disabled}
onClick={this.onClick}