lsc há 4 meses atrás
pai
commit
53091ea8a6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/Student/index.vue

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

@@ -1685,7 +1685,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 work.ttype == '1' || (work.ttype == '2' && work.classid.includes(props.cid)) && (work.atool == toolType.value || !toolType.value)
       })
       : res[0]