소스 검색

滚动条

Leo 2 년 전
부모
커밋
d74c4d48fe
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/module/datasource/component/DatasourceData.jsx
  2. 2 0
      src/module/datasource/component/DatasourceManage.jsx

+ 2 - 0
src/module/datasource/component/DatasourceData.jsx

@@ -179,6 +179,7 @@ const DatasourceData = props => {
             dataSource={contentData}
             bordered
             loading={contentLoading}
+            scroll={{ x: 3500 }}
           />
         </TabPane>
         <TabPane tab="预览表结构" key="schema">
@@ -187,6 +188,7 @@ const DatasourceData = props => {
             dataSource={schemaData}
             bordered
             loading={schemaLoading}
+            scroll={{ x: 3500 }}
           />
         </TabPane>
       </Tabs>

+ 2 - 0
src/module/datasource/component/DatasourceManage.jsx

@@ -577,6 +577,7 @@ const DatasourceManage = forwardRef(({ dataType }, ref) => {
               dataSource={contentData}
               bordered
               loading={contentLoading}
+              scroll={{ x: 3500 }}
             />
           </TabPane>
           <TabPane
@@ -588,6 +589,7 @@ const DatasourceManage = forwardRef(({ dataType }, ref) => {
               dataSource={schemaData}
               bordered
               loading={schemaLoading}
+              scroll={{ x: 3500 }}
             />
           </TabPane>
         </Tabs>