Files

29 lines
368 B
TypeScript
Raw Permalink Normal View History

2023-08-30 17:27:21 +08:00
// custom-tab-bar/index.ts
import tabMenu from "./data";
Component({
/**
*
*/
properties: {},
/**
*
*/
data: {
active: 0,
list: tabMenu,
},
/**
*
*/
methods: {
onChange(e: any) {
console.log(e);
},
},
lifetimes: {
attached() {},
},
});