2 次代码提交 988528587a ... ece0a29b07

作者 SHA1 备注 提交日期
  DESKTOP-USV654P\pc ece0a29b07 fix: change course erasure 14 小时之前
  DESKTOP-USV654P\pc dfe6d03806 fix: change course teacher 15 小时之前
共有 3 个文件被更改,包括 10 次插入10 次删除
  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: '状态',