Преглед изворни кода

feat: 修改联系人、客户选中列的宽度

lanjianrong пре 5 година
родитељ
комит
76da066803
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 2 1
      src/pages/Customer/Company/index.jsx
  2. 2 1
      src/pages/Customer/Contact/index.jsx

+ 2 - 1
src/pages/Customer/Company/index.jsx

@@ -439,7 +439,8 @@ const Company = props => {
       }}
       rowSelection={{
         onChange: hanleRowSelectChange,
-        type: 'checkbox'
+        type: 'checkbox',
+        columnWidth: 25
       }}
       tableAlertRender={renderTableAlert}
       scroll={getScrollRef}

+ 2 - 1
src/pages/Customer/Contact/index.jsx

@@ -539,7 +539,8 @@ const Contact = props => {
         tableAlertRender={renderTableAlert}
         rowSelection={{
           onChange: hanleRowSelectChange,
-          type: 'checkbox'
+          type: 'checkbox',
+          columnWidth: 25
         }}
         // search={false}
         search={{ filterType: 'light' }}