2019-09-03 15:22:02 +08:00

20 lines
302 B
JavaScript

import Page from '../../common/page';
import Toast from '../../dist/toast/toast';
Page({
data: {
value: 1
},
onChange(event) {
Toast.loading({
forbidClick: true
});
setTimeout(() => {
Toast.clear();
this.setData({ value: event.detail });
}, 500);
}
});