Commit 6ccef0eb by zhuxichen

chore: update

parent cd49756c
<script setup lang="ts">
import { ref, onMounted, getCurrentInstance, defineAsyncComponent } from 'vue'
import DynamicComponentLoader from './DynamicComponentLoader.vue'
const instance = getCurrentInstance()
const DynamicComponent = ref(null)
const globalConfig = ref()
......@@ -32,10 +32,11 @@ onMounted(() => {
<template>
<div>{{ $globalConfig?.name }}</div>
<component
<!-- <component
:is="DynamicComponent"
v-if="DynamicComponent"
v-bind="props"
v-bind="$props"
v-on="$attrs"
/>
/> -->
<DynamicComponentLoader component-key="com1" component-type="local" />
</template>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment