Files
MiniProgram/ProjectLiaisonForm/pages/rate/size/index.js

15 lines
243 B
JavaScript
Raw Normal View History

2025-08-15 14:05:08 +08:00
Component({
data: {
value: [3, 3],
},
methods: {
onChange(e) {
const { index } = e.currentTarget.dataset;
const { value } = e.detail;
this.setData({
[`value[${index}]`]: value,
});
},
},
});