mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[new feature] Area: reset method support code param
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
- DropdownMenu
|
||||
- NumberKeyboard
|
||||
|
||||
##### Area
|
||||
|
||||
- 支持`reset`方法传入`code`参数
|
||||
|
||||
##### ImagePreview
|
||||
|
||||
- 新增`close-on-popstate`属性
|
||||
|
||||
@@ -22,10 +22,10 @@ In the GUI, click on 'Dependencies' -> `Install Dependencies` and add `vant` to
|
||||
### Install
|
||||
|
||||
```bash
|
||||
# install vant 1.x
|
||||
# install 1.x stable
|
||||
npm i vant -S
|
||||
|
||||
# install vant 2.0 beta
|
||||
# install 2.0 beta
|
||||
npm i vant@beta -S
|
||||
```
|
||||
|
||||
|
||||
@@ -31,10 +31,10 @@ vue ui
|
||||
### 安装
|
||||
|
||||
```bash
|
||||
# 安装 vant 1.x 稳定版本
|
||||
# 安装 1.x 稳定版本
|
||||
npm i vant -S
|
||||
|
||||
# 安装 vant 2.0 测试版本
|
||||
# 安装 2.0 测试版本
|
||||
npm i vant@beta -S
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user