20 lines
394 B
JavaScript
20 lines
394 B
JavaScript
Component({
|
||
mixins: [],
|
||
data: {
|
||
evaluateArray: ['10分钟', '20分钟', '30分钟'],
|
||
evaluateIndex: 0
|
||
},
|
||
props: {},
|
||
didMount() {},
|
||
didUpdate() {},
|
||
didUnmount() {},
|
||
methods: {
|
||
bindEvaluateChange(e) {
|
||
// console.log('picker发送选择改变,携带值为', e.detail.value);
|
||
this.setData({
|
||
evaluateIndex: e.detail.value,
|
||
});
|
||
},
|
||
},
|
||
});
|