Explorar el Código

Update index.tsx

lex-xin hace 2 meses
padre
commit
0b1cbaf486
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/teacher/statistics/home-statistics/index.tsx

+ 1 - 1
src/teacher/statistics/home-statistics/index.tsx

@@ -267,7 +267,7 @@ export default defineComponent({
           })
           .then(res => {
             const checked = res.data.check ? true : false
-            if (checked) {
+            if (!checked) {
               getHeight()
             }
           })