Ver código fonte

💄 UI: add labelWidth config1

chenshuai2144 5 anos atrás
pai
commit
524508a69f
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      src/pages/ListTableList/index.tsx

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

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