diff --git a/src/components/student/CommonStudent.vue b/src/components/student/CommonStudent.vue index fb10da02..9b474053 100644 --- a/src/components/student/CommonStudent.vue +++ b/src/components/student/CommonStudent.vue @@ -295,7 +295,8 @@ import { AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, - USER_LIST, USER_LIST_PAGE, + // USER_LIST, + USER_LIST_PAGE, } from "@/api/ThirdApi"; import { saveStu, diff --git a/src/views/DownLoad.vue b/src/views/DownLoad.vue index af7fe54b..07ff8bf9 100644 --- a/src/views/DownLoad.vue +++ b/src/views/DownLoad.vue @@ -149,7 +149,7 @@ export default { api.DownLoadTotalSize().then(res=>{ console.log(res) if(res.data.code==200){ - state.capacity = res.data.data; + state.capacity = res.data.data && res.data.data !== {} ? res.data.data : 0; }else{ state.capacity = 0; }