vue3 setup写法页面引入个性化子组件

<component
       :is="Tab3Name"
        ></component>
import { ref, computed } from 'vue';
import a from './stepThree.vue';
import b from '@/views/idv/330702000016/joint/stepThree.vue';
let code="11" // 判断个性化条件
const omponentName = computed(() => {
  switch (code) {
    case '11':
      return a;
    default:
      return b;
  }
});