1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00
2021-12-21 09:51:43 +08:00

15 lines
290 B
TypeScript

import { VantComponent } from '../../common/component';
import Notify from '../../notify/notify';
VantComponent({
methods: {
onChange(event) {
Notify({
context: this,
type: 'primary',
message: `切换至第${event.detail}`,
});
},
},
});