Sfoglia il codice sorgente

💄 UI: add labelWidth config1

chenshuai2144 6 anni fa
parent
commit
524508a69f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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 /> 新建