Parcourir la source

Update index.tsx

lex-xin il y a 2 mois
Parent
commit
0b1cbaf486
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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()
             }
           })