Procházet zdrojové kódy

修改加载状态

lex před 1 rokem
rodič
revize
8315f3303d
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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) => {