Просмотр исходного кода

fix: 单位详情表格改成百分比可以适应

outaozhen 4 лет назад
Родитель
Сommit
7967b5f4ea
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      src/pages/Customer/Company/components/CompanyDetail/TabList.jsx

+ 5 - 5
src/pages/Customer/Company/components/CompanyDetail/TabList.jsx

@@ -121,7 +121,7 @@ const CompanyTabList = ({
     {
       title: '优先级',
       dataIndex: 'priority',
-      width: 75,
+      width: '15%',
       headerCellStyle: {
         backgroundColor: '#fafafa'
       },
@@ -147,7 +147,7 @@ const CompanyTabList = ({
       title: '所有部门',
       dataIndex: 'department',
       onFilter: true,
-      width: 90,
+      width: '18%',
       headerCellStyle: {
         backgroundColor: '#fafafa'
       },
@@ -177,7 +177,7 @@ const CompanyTabList = ({
     {
       title: '昵称',
       dataIndex: 'niceName',
-      width: 100,
+      width: '18%',
       headerCellStyle: {
         backgroundColor: '#fafafa'
       },
@@ -186,7 +186,7 @@ const CompanyTabList = ({
     {
       title: '手机',
       dataIndex: 'telephone',
-      width: 90,
+      width: '15%',
       ellipsis: true,
       headerCellStyle: {
         backgroundColor: '#fafafa'
@@ -196,7 +196,7 @@ const CompanyTabList = ({
     {
       title: 'QQ',
       dataIndex: 'qq',
-      width: 90,
+      width: '15%',
       ellipsis: true,
       headerCellStyle: {
         backgroundColor: '#fafafa'