update code

main
lijun 2024-12-27 22:25:58 +08:00
parent c95cbcaaf8
commit 87fc212536
3 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ class UserAPI {
method: "get", method: "get",
}).then((res:any) =>{ }).then((res:any) =>{
resolve({ resolve({
"userId": res.data.data.user_id, "userId": res?.data?.data?.user_id||'',
"username": res.data.data.user_name, "username": res?.data?.data?.user_name||'',
"nickname": "系统管理员", "nickname": "系统管理员",
"avatar": "", "avatar": "",
"roles": ["ADMIN"], "roles": ["ADMIN"],

View File

@ -122,7 +122,7 @@ const loadData = () => {
let objs = tmps.filter(it => it.logs_operation_type == t); let objs = tmps.filter(it => it.logs_operation_type == t);
return objs.length > 0 ? objs[0].operation_count : 0; 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.cnt2 = findCnt("model_infer");
info.cnt3 = findCnt("model_report"); info.cnt3 = findCnt("model_report");
}); });

View File

@ -748,7 +748,7 @@ html.report-print {
html.dark { html.dark {
.simulation-report-desc { .simulation-report-desc {
#print_simulation_report_desc { #print_simulation_report_desc {
background: #304156; background: #191E32;
} }
} }
} }