mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
20 lines
283 B
JavaScript
20 lines
283 B
JavaScript
import Page from '../../common/page';
|
|
|
|
Page({
|
|
data: {
|
|
value1: 3,
|
|
value2: 3,
|
|
value3: 3,
|
|
value4: 2.5,
|
|
value5: 4,
|
|
value6: 3
|
|
},
|
|
|
|
onChange(event) {
|
|
const { key } = event.currentTarget.dataset;
|
|
this.setData({
|
|
[key]: event.detail
|
|
});
|
|
}
|
|
});
|