mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
fix:下载中心NAN显示判断修改
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user