2
0
Преглед на файлове

✨ feat(template): add ID column to template list

- display template ID in the template list table
- set column width to 80px for proper layout
yourname преди 3 месеца
родител
ревизия
18c9a714a2
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      src/client/member/pages/TemplateList.tsx

+ 6 - 0
src/client/member/pages/TemplateList.tsx

@@ -56,6 +56,12 @@ function TemplateList() {
   });
 
   const columns = [
+    {
+      title: 'ID',
+      dataIndex: 'id',
+      key: 'id',
+      width: 80
+    },
     {
       title: '模板名称',
       dataIndex: 'templateName',