瀏覽代碼

fix: change course erasure

DESKTOP-USV654P\pc 14 小時之前
父節點
當前提交
ece0a29b07
共有 3 個文件被更改,包括 7 次插入7 次删除
  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)}`;
     // },