Commit 396e842a authored by wuhao's avatar wuhao 🎯

asd

parent 10f429a5
Pipeline #6599 passed with stages
in 8 minutes and 55 seconds
......@@ -655,15 +655,10 @@ function Checkhomework() {
[
{
title: "实验时长",
dataIndex: "useTime",
key: "useTime",
dataIndex: "testTime",
key: "testTime",
render: (text, record) => {
function secondsToMinutesAndSeconds(seconds) {
var minutes = Math.floor(seconds / 60);
var remainingSeconds = seconds % 60;
return minutes + " 分 " + remainingSeconds + " 秒";
}
return secondsToMinutesAndSeconds(record?.useTime);
return record.testTime + '分';
},
},
{
......
......@@ -615,15 +615,11 @@ function Dolessons() {
[
{
title: "实验时长",
dataIndex: "useTime",
key: "useTime",
dataIndex: "testTime",
key: "testTime",
render: (text, record) => {
function secondsToMinutesAndSeconds(seconds) {
var minutes = Math.floor(seconds / 60);
var remainingSeconds = seconds % 60;
return minutes + " 分 " + remainingSeconds + " 秒";
}
return secondsToMinutesAndSeconds(record?.useTime);
return record.testTime + '分';
},
},
{
......
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