Closed syifeng closed 3 years ago
<script setup async> import { ref, watch } from 'vue' import HelloWorld from './components/HelloWorld.vue' import { getMedInfos } from './api/medInfo' const msg = ref('msg') export const medInfos = await getMedInfos(1, 10) </script>
when I use the await function in the tag ' Githubissues.
when I use the await function in the tag ' Githubissues.