Browse Source

学生管理

11wqe1 2 weeks ago
parent
commit
11a19f879b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/components/pages/studentManageNew/component/table.vue

+ 4 - 0
src/components/pages/studentManageNew/component/table.vue

@@ -767,6 +767,10 @@ export default {
         this.activeId = newVal;
         this.inp = "";
         this.interestType = 0;
+        // 进入页面时 activeId 尚未赋值,避免空 claid 请求
+        if (!newVal && newVal !== 0) {
+          return;
+        }
         this.refresh();
       },
       immediate: true