Explorar o código

💄 UI: add labelWidth config1

chenshuai2144 %!s(int64=6) %!d(string=hai) anos
pai
achega
524508a69f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 /> 新建