Quellcode durchsuchen

💄 UI: add labelWidth config1

chenshuai2144 vor 5 Jahren
Ursprung
Commit
524508a69f
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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 /> 新建