lsc hai 21 horas
pai
achega
06135b7a45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Student/index.vue

+ 1 - 1
src/views/Student/index.vue

@@ -1097,7 +1097,7 @@ const getWork = async (isUpdate = false) => {
     const toolType = frame?.toolType ?? ''
     const newWorkArray = props.cid
       ? res[0].filter((work: any) => {
-        return props.type === 1 || (props.type === 2 && work.classid.includes(props.cid)) && (work.atool === toolType || !toolType)
+        return props.type == '1' || (props.type == '2' && work.classid.includes(props.cid)) && (work.atool === toolType || !toolType)
       })
       : res[0]