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