<template>
<GSelect
style="margin: 10px 0;"
v-model="tab"
:options="[
{ text: 'tab1', value: 'tab1' },
{ text: 'tab2', value: 'tab2' },
{ text: 'tab3', value: 'tab3' },
{ text: 'tab4', value: 'tab4' },
]"
/>
<GTabs :disable="['tab3','tab1']" :active="tab">
<GTabPane tabKey="tab1" title="tab1"> this is tab A</GTabPane>
<GTabPane tabKey="tab2" title="tab2"> this is tab B</GTabPane>
<GTabPane tabKey="tab3" title="tab3"> this is tab C</GTabPane>
<GTabPane tabKey="tab4" title="tab4"> this is tab D</GTabPane>
</GTabs>
</template>
<script setup>
import { ref } from 'vue'
const tab = ref('tab1')
</script>