1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| import { VantComponent } from '../../common/component';
| import Toast from '../../toast/toast';
|
| VantComponent({
| data: {
| value1: 3,
| value2: 3,
| value3: 3,
| value4: 2.5,
| value5: 4,
| value6: 3,
| value8: 2,
| },
|
| methods: {
| onChange(event) {
| Toast({
| context: this,
| message: '当前值:' + event.detail,
| });
| },
| },
| });
|
|