update code
parent
c95cbcaaf8
commit
87fc212536
|
@ -22,8 +22,8 @@ class UserAPI {
|
|||
method: "get",
|
||||
}).then((res:any) =>{
|
||||
resolve({
|
||||
"userId": res.data.data.user_id,
|
||||
"username": res.data.data.user_name,
|
||||
"userId": res?.data?.data?.user_id||'',
|
||||
"username": res?.data?.data?.user_name||'',
|
||||
"nickname": "系统管理员",
|
||||
"avatar": "",
|
||||
"roles": ["ADMIN"],
|
||||
|
|
|
@ -122,7 +122,7 @@ const loadData = () => {
|
|||
let objs = tmps.filter(it => it.logs_operation_type == t);
|
||||
return objs.length > 0 ? objs[0].operation_count : 0;
|
||||
}
|
||||
info.cnt1 =10;// findCnt("model_compile");
|
||||
info.cnt1 = findCnt("model_compile");
|
||||
info.cnt2 = findCnt("model_infer");
|
||||
info.cnt3 = findCnt("model_report");
|
||||
});
|
||||
|
|
|
@ -748,7 +748,7 @@ html.report-print {
|
|||
html.dark {
|
||||
.simulation-report-desc {
|
||||
#print_simulation_report_desc {
|
||||
background: #304156;
|
||||
background: #191E32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue