Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
396e842a
Commit
396e842a
authored
Dec 22, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asd
parent
10f429a5
Pipeline
#6599
passed with stages
in 8 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
16 deletions
+7
-16
index.jsx
src/pages/checkhomework/index.jsx
+3
-8
index.jsx
src/pages/rebustrain/index.jsx
+4
-8
No files found.
src/pages/checkhomework/index.jsx
View file @
396e842a
...
@@ -655,15 +655,10 @@ function Checkhomework() {
...
@@ -655,15 +655,10 @@ function Checkhomework() {
[
[
{
{
title: "实验时长",
title: "实验时长",
dataIndex: "
use
Time",
dataIndex: "
test
Time",
key: "
use
Time",
key: "
test
Time",
render: (text, record) => {
render: (text, record) => {
function secondsToMinutesAndSeconds(seconds) {
return record.testTime + '分';
var minutes = Math.floor(seconds / 60);
var remainingSeconds = seconds % 60;
return minutes + " 分 " + remainingSeconds + " 秒";
}
return secondsToMinutesAndSeconds(record?.useTime);
},
},
},
},
{
{
...
...
src/pages/rebustrain/index.jsx
View file @
396e842a
...
@@ -615,15 +615,11 @@ function Dolessons() {
...
@@ -615,15 +615,11 @@ function Dolessons() {
[
[
{
{
title: "实验时长",
title: "实验时长",
dataIndex: "
use
Time",
dataIndex: "
test
Time",
key: "
use
Time",
key: "
test
Time",
render: (text, record) => {
render: (text, record) => {
function secondsToMinutesAndSeconds(seconds) {
return record.testTime + '分';
var minutes = Math.floor(seconds / 60);
var remainingSeconds = seconds % 60;
return minutes + " 分 " + remainingSeconds + " 秒";
}
return secondsToMinutesAndSeconds(record?.useTime);
},
},
},
},
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment