mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
5b96c7acb0
commit
9098f427bf
@ -38,7 +38,7 @@ Page({
|
||||
添加 `range` 属性就可以开启双滑块模式,确保 `value` 的值是一个数组。
|
||||
|
||||
```html
|
||||
<van-slider value="{{ 10, 50 }}" range @change="onChange" />
|
||||
<van-slider value="{{ [10, 50] }}" range @change="onChange" />
|
||||
```
|
||||
|
||||
```js
|
||||
|
Loading…
x
Reference in New Issue
Block a user