Sfoglia il codice sorgente

-学员信息:样式规范

liushengqiang 1 anno fa
parent
commit
6429dc3028

+ 2 - 6
src/views/student-manage/index.tsx

@@ -320,12 +320,8 @@ export default defineComponent({
                 {studentMagege.list.map((item: IStudentManage) => (
                   <div class={styles.student}>
                     <MStudent item={item} />
-                    {!!item.shouldAttendanceCount && (
-                      <>
-                        <Assignment item={item} />
-                        <Attendance item={item} />
-                      </>
-                    )}
+                    <Assignment item={item} />
+                    <Attendance item={item} />
                   </div>
                 ))}
 

+ 2 - 6
src/views/student-manage/withdraw/index.tsx

@@ -238,12 +238,8 @@ export default defineComponent({
                 {studentMagege.list.map((item: IStudentManage) => (
                   <div class={styles.student}>
                     <MStudent item={item} />
-                    {!!item.shouldAttendanceCount && (
-                      <>
-                        <Assignment item={item} />
-                        <Attendance item={item} />
-                      </>
-                    )}
+                    <Assignment item={item} />
+                    <Attendance item={item} />
                   </div>
                 ))}