2 Commits 988528587a ... ece0a29b07

Author SHA1 Message Date
  DESKTOP-USV654P\pc ece0a29b07 fix: change course erasure 9 hours ago
  DESKTOP-USV654P\pc dfe6d03806 fix: change course teacher 9 hours ago
3 changed files with 10 additions and 10 deletions
  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: '状态',