摘要: 由於vue3的setup一般情況下不允許為async,如果要將setup變成async,則要引入異步組件 <Suspense> <template #default> <SwitchMaintenanceUpdate/> </template> </Suspense> 引入組件的代碼這樣寫 let 阅读全文
posted @ 2022-11-17 09:45 BigFace123 阅读(334) 评论(0) 推荐(0)