mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
fix:下载中心NAN显示判断修改
This commit is contained in:
@@ -295,7 +295,8 @@ import {
|
|||||||
AUDIENCE_LIST,
|
AUDIENCE_LIST,
|
||||||
ORG_CHILD_LIST,
|
ORG_CHILD_LIST,
|
||||||
ORG_LIST,
|
ORG_LIST,
|
||||||
USER_LIST, USER_LIST_PAGE,
|
// USER_LIST,
|
||||||
|
USER_LIST_PAGE,
|
||||||
} from "@/api/ThirdApi";
|
} from "@/api/ThirdApi";
|
||||||
import {
|
import {
|
||||||
saveStu,
|
saveStu,
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export default {
|
|||||||
api.DownLoadTotalSize().then(res=>{
|
api.DownLoadTotalSize().then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res.data.code==200){
|
if(res.data.code==200){
|
||||||
state.capacity = res.data.data;
|
state.capacity = res.data.data && res.data.data !== {} ? res.data.data : 0;
|
||||||
}else{
|
}else{
|
||||||
state.capacity = 0;
|
state.capacity = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user