将组件本身传递给 is 而不是其名称,则不需要注册: import OneCom from './one-com.vue' import { ref, markRaw } from 'vue' const comList = ref([{ id: 1, comName: markRaw(OneCom) }]) 如果想通过名称传递则必须先对其进行注册: import OneCom from './one-com.vue' import { defineComponent, ref } from 'vue' const comList = ref([{ id: 1, comName: 'OneCom' }]) export default defineComponent({ components: { OneCom } })