Explorar o código

Update index.tsx

lex-xin hai 7 meses
pai
achega
0b1cbaf486
Modificáronse 1 ficheiros con 1 adicións e 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()
             }
           })