Browse Source

Update index.tsx

lex-xin 2 tháng trước cách đây
mục cha
commit
0b1cbaf486
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()
             }
           })