Browse Source

feat: 表格中增加比较多的列,复现表格错位问题

zuihou 2 years ago
parent
commit
a753eb35cb
1 changed files with 21 additions and 0 deletions
  1. 21 0
      src/views/demo/table/AuthColumn.vue

+ 21 - 0
src/views/demo/table/AuthColumn.vue

@@ -70,12 +70,33 @@
     {
       title: '姓名',
       dataIndex: 'name',
+      width: 200,
       auth: 'test', // 根据权限控制是否显示: 无权限,不显示
     },
     {
       title: '状态',
       dataIndex: 'status',
     },
+    {
+      title: '状态1',
+      dataIndex: 'status1',
+    },
+    {
+      title: '状态2',
+      dataIndex: 'status2',
+    },
+    {
+      title: '状态3',
+      dataIndex: 'status3',
+    },
+    {
+      title: '状态4',
+      dataIndex: 'status4',
+    },
+    {
+      title: '状态5',
+      dataIndex: 'status5',
+    },
     {
       title: '地址',
       dataIndex: 'address',