</tm-tabs>
</tm-sheet>
</template>
<script lang="ts" setup>
import { ref } from "vue"
const tabsTitle = ref([
{ key: "1", title: "选项1", icon: "tmicon-ios-leaf" },
{ key: "2", title: "选项2", icon: "tmicon-ios-umbrella" },
{ key: "3", title: "选项3", icon: "tmicon-ios-rocket" },
{ key: "4", title: "选项4", icon: "tmicon-ios-partly-sunny" },
])
function tabschange(key:string|number){
console.log(key)
}
</script>
0 个回复