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

16 lines
227 B
TypeScript

import { VantComponent } from '../../common/component';
VantComponent({
data: {
activeTab: 0,
},
methods: {
onChange(event) {
this.setData({
activeTab: event.detail.name,
});
},
},
});