Commit 52926265 by zhujian

'fix'

parent dbc9874b
......@@ -9,7 +9,7 @@
import { MapInterface } from '@/domains/basic-domain/interface'
// 默认是 dev 环境
const ENV: string = process.env.DEPLOY_ENV || 'dev1';
const ENV: string = process.env.DEPLOY_ENV || 'dev';
console.log("process.env.DEPLOY_ENV",process)
const BASIC_HOST_MAP: MapInterface = {
dev: 'https://dev-heimdall.xiaomai5.com/',
......
......@@ -158,7 +158,7 @@ function ExamData(props: any) {
</Tooltip>
</div>,
dataIndex: "totalAccuracy",
render: (text: any) => <span>{text * 100}%</span>,
render: (text: any) => <span>{parseInt(text * 100 as any)}%</span>,
},
......
......@@ -148,7 +148,7 @@ function DataAnalysic(props: any) {
dataIndex: "userDuration",
sorter: true,
sortOrder: field === "userDuration" ? order : sortStatus.type,
render: (text: any) => <span>{window.formatHourTime(text)} </span>,
render: (text: any,record:any) => <span>{ record.userExamState==='FINISH_EXAM' ? window.formatHourTime(text):'-'} </span>,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment