[breaking change] GoodsAction: remove primary prop, add type prop

This commit is contained in:
陈嘉涵
2019-04-29 16:49:42 +08:00
parent 138790b3e3
commit e417ad0e8b
6 changed files with 30 additions and 15 deletions
+4 -2
View File
@@ -13,11 +13,12 @@
@click="onClickIcon"
/>
<van-goods-action-button
type="warning"
:text="$t('button1')"
@click="onClickButton"
/>
<van-goods-action-button
primary
type="danger"
:text="$t('button2')"
@click="onClickButton"
/>
@@ -43,11 +44,12 @@
@click="onClickIcon"
/>
<van-goods-action-button
type="warning"
:text="$t('button1')"
@click="onClickButton"
/>
<van-goods-action-button
primary
type="danger"
:text="$t('button2')"
@click="onClickButton"
/>