Pārlūkot izejas kodu

修改加载状态

lex 1 gadu atpakaļ
vecāks
revīzija
8315f3303d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/views/co-ai/baseIndex.tsx

+ 2 - 0
src/views/co-ai/baseIndex.tsx

@@ -77,8 +77,10 @@ export default defineComponent({
       isShowGuide.value = true;
     };
     onMounted(async () => {
+      data.loading = true;
       await getTanentList();
       await getList();
+      data.loading = false;
     });
 
     const handleFavorite = async (item: any) => {