2021-12-21 09:51:43 +08:00

24 lines
381 B
TypeScript

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,
});
},
},
});