From 650e479313fda9815d73250c5405884d37c3c9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sat, 7 Dec 2019 08:51:58 +0800 Subject: [PATCH] docs(changelog): 2.3.0-beta.2 --- docs/markdown/changelog.en-US.md | 30 ++++++++++++++++++++++++++++-- docs/markdown/changelog.zh-CN.md | 28 +++++++++++++++++++++++++++- src/address-list/README.md | 2 +- src/address-list/README.zh-CN.md | 2 +- src/contact-card/README.md | 6 +++--- src/contact-card/README.zh-CN.md | 6 +++--- src/coupon-list/README.md | 2 +- src/coupon-list/README.zh-CN.md | 2 +- src/sku/README.md | 2 +- src/sku/README.zh-CN.md | 2 +- src/submit-bar/README.md | 2 +- src/submit-bar/README.zh-CN.md | 2 +- 12 files changed, 69 insertions(+), 17 deletions(-) diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 212c991c0..4c5e15289 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -1,5 +1,31 @@ # Changelog +### [v2.3.0-beta.2](https://github.com/youzan/vant/tree/v2.3.0-beta.2) +`2019-12-06` + +**Style** + +Upgrading the style of business components: + +- CouponList + +**Features** + +- CouponList: add show-count prop [\#5139](https://github.com/youzan/vant/pull/5139) + +**Bug Fixes** + +- fix Sku stepper value must be integer [\#5202](https://github.com/youzan/vant/pull/5202) +- fix Sku stepper should not emit invalid num [\#5210](https://github.com/youzan/vant/pull/5210) +- fix Card incorrect price font-family [\#5194](https://github.com/youzan/vant/pull/5194) +- fix AddressList incorrect horizontal padding [\#5204](https://github.com/youzan/vant/pull/5204) +- fix Picker should not submit form [\#5182](https://github.com/youzan/vant/pull/5182) +- fix Stepper should not submit form [\#5183](https://github.com/youzan/vant/pull/5183) +- fix ActionSheet should not submit form [\#5181](https://github.com/youzan/vant/pull/5181) +- fix Uploader not trigger oversize event when upload same file [\#5177](https://github.com/youzan/vant/pull/5177) +- fix less import issue [\#5157](https://github.com/youzan/vant/pull/5157) + + ### [v2.3.0-beta.1](https://github.com/youzan/vant/tree/v2.3.0-beta.1) `2019-11-30` @@ -19,11 +45,11 @@ Upgrading the style of business components: - Card: add price-top slot [\#5134](https://github.com/youzan/vant/pull/5134) - Circle: add stroke-linecap prop [\#5087](https://github.com/youzan/vant/pull/5087) - CountDown: support SS and S format [\#5154](https://github.com/youzan/vant/pull/5154) -- Sku: add new startSaleNum prop [\#5105](https://github.com/youzan/vant/pull/5105) +- Sku: add new start-sale-num prop [\#5105](https://github.com/youzan/vant/pull/5105) - SubmitBar: add text-align prop [\#5130](https://github.com/youzan/vant/pull/5130) - AddressList: add default-tag-text prop [\#5106](https://github.com/youzan/vant/pull/5106) - ContactList: add default-tag-text prop [\#5089](https://github.com/youzan/vant/pull/5089) -- ContactCard: add show-set-default prop [\#5083](https://github.com/youzan/vant/pull/5083) +- ContactCard: add show-set-default、set-default-label prop [\#5083](https://github.com/youzan/vant/pull/5083) - Toast: improve type definitions [\#5086](https://github.com/youzan/vant/pull/5086) **Bug Fixes** diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index b998447d2..0ba5ea697 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -11,6 +11,32 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.3.0-beta.2](https://github.com/youzan/vant/tree/v2.3.0-beta.2) +`2019-12-06` + +**Style** + +升级以下业务组件的样式: + +- CouponList + +**Features** + +- CouponList: 新增 show-count 属性 [\#5139](https://github.com/youzan/vant/pull/5139) + +**Bug Fixes** + +- 修复 Sku 步进器可能输入小数的问题 [\#5202](https://github.com/youzan/vant/pull/5202) +- 修复 Sku 步进器事件可能抛出小数的问题 [\#5210](https://github.com/youzan/vant/pull/5210) +- 修复 Card 价格字体错误的问题 [\#5194](https://github.com/youzan/vant/pull/5194) +- 修复 AddressList 左右边距错误的问题 [\#5204](https://github.com/youzan/vant/pull/5204) +- 修复 Picker 按钮会提交表单的问题 [\#5182](https://github.com/youzan/vant/pull/5182) +- 修复 Stepper 按钮会提交表单的问题 [\#5183](https://github.com/youzan/vant/pull/5183) +- 修复 ActionSheet 按钮会提交表单的问题 [\#5181](https://github.com/youzan/vant/pull/5181) +- 修复 Uploader 重复上传同张图片时不会触发 oversize 事件的问题 [\#5177](https://github.com/youzan/vant/pull/5177) +- 修复主题定制时使用低版本 Less 会报错的问题 [\#5157](https://github.com/youzan/vant/pull/5157) + + ### [v2.3.0-beta.1](https://github.com/youzan/vant/tree/v2.3.0-beta.1) `2019-11-30` @@ -34,7 +60,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - SubmitBar: 新增 text-align 属性 [\#5130](https://github.com/youzan/vant/pull/5130) - AddressList: 新增 default-tag-text 属性 [\#5106](https://github.com/youzan/vant/pull/5106) - ContactList: 新增 default-tag-text 属性 [\#5089](https://github.com/youzan/vant/pull/5089) -- ContactCard: 新增 show-set-default 属性 [\#5083](https://github.com/youzan/vant/pull/5083) +- ContactCard: 新增 show-set-default、set-default-label 属性 [\#5083](https://github.com/youzan/vant/pull/5083) - Toast: 完善 TS 类型定义 [\#5086](https://github.com/youzan/vant/pull/5086) **Bug Fixes** diff --git a/src/address-list/README.md b/src/address-list/README.md index 7187257af..a95977951 100644 --- a/src/address-list/README.md +++ b/src/address-list/README.md @@ -77,7 +77,7 @@ export default { | disabled-text | Disabled text | *string* | - | - | | switchable | Whether to allow switch address | *boolean* | `true` | - | | add-button-text | Add button text | *string* | `Add new address` | - | -| default-tag-text | Default tag text | *string* | - | - | +| default-tag-text | Default tag text | *string* | - | 2.3.0 | ### Events diff --git a/src/address-list/README.zh-CN.md b/src/address-list/README.zh-CN.md index 1bdc323bb..4784b9e06 100644 --- a/src/address-list/README.zh-CN.md +++ b/src/address-list/README.zh-CN.md @@ -78,7 +78,7 @@ export default { | disabled-text | 不可配送提示文案 | *string* | - | - | | switchable | 是否允许切换地址 | *boolean* | `true` | - | | add-button-text | 底部按钮文字 | *string* | `新增地址` | - | -| default-tag-text | 默认地址标签文字 | *string* | - | - | +| default-tag-text | 默认地址标签文字 | *string* | - | 2.3.0 | ### Events diff --git a/src/contact-card/README.md b/src/contact-card/README.md index e1e2d3e1e..d082319ac 100644 --- a/src/contact-card/README.md +++ b/src/contact-card/README.md @@ -155,7 +155,7 @@ export default { | v-model | Id of chosen contact | *string \| number* | - | - | | list | Contact list | *Contact[]* | `[]` | - | | add-text | Add button text | *string* | `Add new contact` | - | -| default-tag-text | Default tag text | *string* | - | - | +| default-tag-text | Default tag text | *string* | - | 2.3.0 | ### ContactList Events @@ -175,8 +175,8 @@ export default { | is-saving | Whether to show save button loading status | *boolean* | `false` | - | | is-deleting | Whether to show delete button loading status | *boolean* | `false` | - | | tel-validator | The method to validate tel | *(tel: string) => boolean* | - | - | -| show-set-default | Whether to show default contact switch | *boolean* | `false` | - | -| set-default-label | default contact switch label | *string* | - | - | +| show-set-default | Whether to show default contact switch | *boolean* | `false` | 2.3.0 | +| set-default-label | default contact switch label | *string* | - | 2.3.0 | ### ContactEdit Events diff --git a/src/contact-card/README.zh-CN.md b/src/contact-card/README.zh-CN.md index c5883b390..d77059e1e 100644 --- a/src/contact-card/README.zh-CN.md +++ b/src/contact-card/README.zh-CN.md @@ -159,7 +159,7 @@ export default { | v-model | 当前选中联系人的 id | *string \| number* | - | - | | list | 联系人列表 | *Contact[]* | `[]` | - | | add-text | 新建按钮文案 | *string* | `新建联系人` | - | -| default-tag-text | 默认联系人标签文案 | *string* | - | - | +| default-tag-text | 默认联系人标签文案 | *string* | - | 2.3.0 | ### ContactList Events @@ -178,8 +178,8 @@ export default { | is-saving | 是否显示保存按钮加载动画 | *boolean* | `false` | - | | is-deleting | 是否显示删除按钮加载动画 | *boolean* | `false` | - | | tel-validator | 手机号格式校验函数 | *(tel: string) => boolean* | - | - | -| show-set-default | 是否显示默认联系人栏 | *boolean* | `false` | - | -| set-default-label | 默认联系人栏文案 | *string* | - | - | +| show-set-default | 是否显示默认联系人栏 | *boolean* | `false` | 2.3.0 | +| set-default-label | 默认联系人栏文案 | *string* | - | 2.3.0 | ### ContactEdit Events diff --git a/src/coupon-list/README.md b/src/coupon-list/README.md index 7704d3791..1ab147a2e 100644 --- a/src/coupon-list/README.md +++ b/src/coupon-list/README.md @@ -99,7 +99,7 @@ export default { | input-placeholder | Input placeholder | *string* | `Coupon code` | - | | currency | Currency symbol | *string* | `¥` | - | | empty-image | Placeholder image when list is empty | *string* | `https://img.yzcdn.cn/vant/coupon-empty.png` | - | -| show-count | Whether to show coupon count in tab title | *boolean* | `true` | - | +| show-count | Whether to show coupon count in tab title | *boolean* | `true` | 2.3.0 | ### CouponList Events diff --git a/src/coupon-list/README.zh-CN.md b/src/coupon-list/README.zh-CN.md index f8dd8bc9b..647cdd39a 100644 --- a/src/coupon-list/README.zh-CN.md +++ b/src/coupon-list/README.zh-CN.md @@ -101,7 +101,7 @@ export default { | show-exchange-bar | 是否展示兑换栏 | *boolean* | `true` | - | | currency | 货币符号 | *string* | `¥` | - | | empty-image | 列表为空时的占位图 | *string* | `https://img.yzcdn.cn/vant/coupon-empty.png` | 2.1.0 | -| show-count | 是否展示可用 / 不可用数量 | *boolean* | `true` | - | +| show-count | 是否展示可用 / 不可用数量 | *boolean* | `true` | 2.3.0 | ### CouponList Events diff --git a/src/sku/README.md b/src/sku/README.md index 338ae6218..26723c7e0 100644 --- a/src/sku/README.md +++ b/src/sku/README.md @@ -141,7 +141,7 @@ export default { | message-config | Message related config | *object* | `{}` | - | | get-container | Return the mount node for sku | *string \| () => Element* | - | - | | safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` | 2.2.1 | -| start-sale-num | Minimum quantity | *number* | `1` | 2.2.15 | +| start-sale-num | Minimum quantity | *number* | `1` | 2.3.0 | ### Events diff --git a/src/sku/README.zh-CN.md b/src/sku/README.zh-CN.md index c1c23b0a8..84f88b9e7 100644 --- a/src/sku/README.zh-CN.md +++ b/src/sku/README.zh-CN.md @@ -145,7 +145,7 @@ export default { | initial-sku | 默认选中的 sku,具体参考高级用法 | *object* | `{}` | - | | show-soldout-sku | 是否展示售罄的 sku,默认展示并置灰 | *boolean* | `true` | - | | safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | 2.2.1 | -| start-sale-num | 起售数量 | *number* | `1` | 2.2.15 | +| start-sale-num | 起售数量 | *number* | `1` | 2.3.0 | ### Events diff --git a/src/submit-bar/README.md b/src/submit-bar/README.md index a4f5b18e2..0a3b1c212 100644 --- a/src/submit-bar/README.md +++ b/src/submit-bar/README.md @@ -75,7 +75,7 @@ Use slot to add custom contents. | price | Price | *number* | - | - | | label | Price left label | *string* | `Total:` | - | | suffix-label | Price right label | *string* | - | - | -| text-align | Price label text align can be set to `right` `left` | *string* | `right` | - | +| text-align | Price label text align can be set to `right` `left` | *string* | `right` | 2.3.0 | | button-text | Button text | *string* | - | - | | button-type | Button type | *string* | `danger` | - | | tip | Tip | *string* | - | - | diff --git a/src/submit-bar/README.zh-CN.md b/src/submit-bar/README.zh-CN.md index 1070deb35..73fc94831 100644 --- a/src/submit-bar/README.zh-CN.md +++ b/src/submit-bar/README.zh-CN.md @@ -75,7 +75,7 @@ Vue.use(SubmitBar); | price | 价格(单位分) | *number* | - | - | | label | 价格左侧文案 | *string* | `合计:` | - | | suffix-label | 价格右侧文案 | *string* | - | - | -| text-align | 价格文案对齐方向,可选值为 `right` `left` | *string* | `right` | - | +| text-align | 价格文案对齐方向,可选值为 `right` `left` | *string* | `right` | 2.3.0 | | button-text | 按钮文字 | *string* | - | - | | button-type | 按钮类型 | *string* | `danger` | - | | tip | 提示文案 | *string* | - | - |