408249787@qq.com 6 päivää sitten
vanhempi
commit
b3fc4f98c9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      pages/catalog/index.uvue

+ 1 - 1
pages/catalog/index.uvue

@@ -27,7 +27,7 @@ async function getDataList() {
   handleSelect(catalog.value)
   // courseList.value = res?.courseList || []
 }
-onShow(async () => {
+onMounted(async () => {
   isLoading.value = true
   try {
     await getDataList()