Browse Source

fix: change course erasure

DESKTOP-USV654P\pc 9 hours ago
parent
commit
ece0a29b07
3 changed files with 7 additions and 7 deletions
  1. 1 1
      Makefile
  2. 5 5
      src/views/course/erasure/data.config.ts
  3. 1 1
      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: '状态',

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

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