feat(GoodsActionButton): add color prop (#4255)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user