浏览代码

Update index.tsx

lex-xin 2 月之前
父节点
当前提交
0b1cbaf486
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()
             }
           })