feat: ObjectHorizontalElement tab UI refactor
This commit is contained in:
parent
a64c28c6ee
commit
8774bcdf72
@ -3,7 +3,8 @@ import DynamicComponent from './DynamicComponent.vue';
|
||||
import { select } from './index';
|
||||
import { ref} from 'vue'
|
||||
const props = defineProps(['value']);
|
||||
const tab = ref('');
|
||||
const tab = ref(Object.keys(props.value)[0] || '');
|
||||
|
||||
const changeTab = (val: string) => {
|
||||
tab.value = val;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user