feat(GoodsActionButton): add icon prop

This commit is contained in:
陈嘉涵
2020-01-22 21:59:32 +08:00
parent 2b82dcc3dd
commit b83bed3b6c
4 changed files with 5 additions and 1 deletions
+2
View File
@@ -12,6 +12,7 @@ export default createComponent({
...routeProps,
type: String,
text: String,
icon: String,
color: String,
loading: Boolean,
disabled: Boolean,
@@ -49,6 +50,7 @@ export default createComponent({
square
size="large"
type={this.type}
icon={this.icon}
color={this.color}
loading={this.loading}
disabled={this.disabled}
+1 -1
View File
@@ -5,7 +5,7 @@
height: @goods-action-button-height;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: normal;
line-height: @goods-action-button-height;
border: none;
&--first {