lex 2 年之前
父节点
当前提交
591199f32b
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/school/train-planning/modal/practice-class/index.tsx

+ 7 - 1
src/school/train-planning/modal/practice-class/index.tsx

@@ -153,7 +153,13 @@ export default defineComponent({
       if (!props.orchestraId) {
         await getOrchestras()
       }
-      await getList()
+      // 判断是否有乐团编号
+      setTimeout(
+        async () => {
+          await getList()
+        },
+        props.orchestraId ? 0 : 100
+      )
     })
 
     return () => (