|
@ -14,4 +14,9 @@ |
|
|
<script setup> |
|
|
<script setup> |
|
|
import { defineAsyncComponent, onMounted, ref } from 'vue' |
|
|
import { defineAsyncComponent, onMounted, ref } from 'vue' |
|
|
import HelloWorld from "@/components/HelloWorld.vue" |
|
|
import HelloWorld from "@/components/HelloWorld.vue" |
|
|
|
|
|
|
|
|
|
|
|
function img(){//动态引入图片 |
|
|
|
|
|
var img=import.meta.globEager('@/assets/img/logo.png') |
|
|
|
|
|
return img['../assets/img/logo.png'].default |
|
|
|
|
|
} |
|
|
</script> |
|
|
</script> |