diff --git a/src/goods-action-button/index.js b/src/goods-action-button/index.js index 764cbeee7..39f8e974e 100644 --- a/src/goods-action-button/index.js +++ b/src/goods-action-button/index.js @@ -47,7 +47,6 @@ export default createComponent({ }, this.type, ])} - square size="large" type={this.type} icon={this.icon} diff --git a/src/goods-action-button/index.less b/src/goods-action-button/index.less index 0bb7bbbbb..28a2dba31 100644 --- a/src/goods-action-button/index.less +++ b/src/goods-action-button/index.less @@ -6,6 +6,7 @@ font-weight: @font-weight-bold; font-size: @font-size-md; border: none; + border-radius: 0; &--first { margin-left: 5px; diff --git a/src/goods-action/test/__snapshots__/demo.spec.js.snap b/src/goods-action/test/__snapshots__/demo.spec.js.snap index b1782cf6b..e8414e63f 100644 --- a/src/goods-action/test/__snapshots__/demo.spec.js.snap +++ b/src/goods-action/test/__snapshots__/demo.spec.js.snap @@ -18,7 +18,7 @@ exports[`renders demo correctly 1`] = `
店铺 - @@ -39,9 +39,9 @@ exports[`renders demo correctly 1`] = `
12
店铺 - @@ -62,9 +62,9 @@ exports[`renders demo correctly 1`] = `
已收藏 - @@ -80,9 +80,9 @@ exports[`renders demo correctly 1`] = `
购物车 - diff --git a/src/goods-action/test/__snapshots__/index.spec.js.snap b/src/goods-action/test/__snapshots__/index.spec.js.snap index 50696c6d1..ccf848e36 100644 --- a/src/goods-action/test/__snapshots__/index.spec.js.snap +++ b/src/goods-action/test/__snapshots__/index.spec.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Button render default slot 1`] = ` - `;