5
0

2 Commits 988528587a ... ece0a29b07

Auteur SHA1 Message Date
  DESKTOP-USV654P\pc ece0a29b07 fix: change course erasure il y a 15 heures
  DESKTOP-USV654P\pc dfe6d03806 fix: change course teacher il y a 16 heures
3 fichiers modifiés avec 10 ajouts et 10 suppressions
  1. 1 1
      Makefile
  2. 5 5
      src/views/course/erasure/data.config.ts
  3. 4 4
      src/views/course/teacher/data.config.ts

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ build:
 
 commit:
 	git add . && \
-	git commit --no-verify -m "fix: change course teacher"
+	git commit --no-verify -m "fix: change course erasure"
 
 checkPre:
 	git checkout pre

+ 5 - 5
src/views/course/erasure/data.config.ts

@@ -73,12 +73,12 @@ export const tableColumns: BasicColumn[] = [
   },
   {
     title: '操作时间',
-    dataIndex: 'startDate',
+    dataIndex: 'operationDate',
     align: 'left',
-    width: 120,
-    customRender: ({ text }) => {
-      return `${formatToDate(text)}`;
-    },
+    width: 150,
+    // customRender: ({ text }) => {
+    //   return `${formatToDate(text)}`;
+    // },
   },
   {
     title: '状态',

+ 4 - 4
src/views/course/teacher/data.config.ts

@@ -52,10 +52,10 @@ export const tableColumns: BasicColumn[] = [
     title: '更新时间',
     dataIndex: 'modifyDate',
     align: 'left',
-    width: 120,
-    customRender: ({ record }) => {
-      return `${formatToDate(record.modifyDate)}`;
-    },
+    width: 150,
+    // customRender: ({ record }) => {
+    //   return `${formatToDate(record.modifyDate)}`;
+    // },
   },
   {
     title: '状态',