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