Переглянути джерело

💄 UI: add labelWidth config1

chenshuai2144 6 роки тому
батько
коміт
524508a69f
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      src/pages/ListTableList/index.tsx

+ 3 - 0
src/pages/ListTableList/index.tsx

@@ -160,6 +160,9 @@ const TableList: React.FC<{}> = () => {
         headerTitle="查询表格"
         actionRef={actionRef}
         rowKey="key"
+        search={{
+          labelWidth: 120,
+        }}
         toolBarRender={() => [
           <Button type="primary" onClick={() => handleModalVisible(true)}>
             <PlusOutlined /> 新建