Commit 4bc2512e by zhaochengxiang

bug fix

parent 2a5ad2e1
...@@ -50,7 +50,7 @@ module.exports = { ...@@ -50,7 +50,7 @@ module.exports = {
}, },
proxy: { proxy: {
'/api': { '/api': {
target: 'http://139.198.127.28:18189', target: 'http://192.168.0.111:8189',
changeOrigin: true, changeOrigin: true,
}, },
'/data-quality': { '/data-quality': {
......
...@@ -69,7 +69,7 @@ const AssetItem = (props) => { ...@@ -69,7 +69,7 @@ const AssetItem = (props) => {
return ( return (
<Tooltip <Tooltip
overlayClassName='tooltip-common' overlayClassName='tooltip-common'
title={(typeof metadata==='string') ? (content||'') : <div style={{ width: 500, maxHeight: 300, overflow: 'auto' }}> title={(typeof metadata==='string') ? (content||'') : <div style={{ width: 500 }}>
<Table <Table
dataSource={metadata?.columnItems||[]} dataSource={metadata?.columnItems||[]}
columns={cols} columns={cols}
......
...@@ -94,7 +94,7 @@ const FC = (props) => { ...@@ -94,7 +94,7 @@ const FC = (props) => {
return ( return (
<Tooltip <Tooltip
title={ title={
<div style={{ maxWidth: 400, maxHeight: 300, overflow: 'auto' }}> <div style={{ maxWidth: 400 }}>
{text} {text}
</div> </div>
} }
......
...@@ -46,7 +46,7 @@ const ModelNameColumn = (props) => { ...@@ -46,7 +46,7 @@ const ModelNameColumn = (props) => {
let _textComponent = <span style={{ color: '#000' }}>{text}</span>; let _textComponent = <span style={{ color: '#000' }}>{text}</span>;
if (data.digest) { if (data.digest) {
_textComponent = <div style={{ width: 500, maxHeight: 300, overflow: 'auto' }}> _textComponent = <div style={{ width: 500 }}>
<Table <Table
rowKey='name' rowKey='name'
dataSource={data.digest.attributeDigests||[]} dataSource={data.digest.attributeDigests||[]}
......
...@@ -88,7 +88,7 @@ const ModelNameColumn = (props) => { ...@@ -88,7 +88,7 @@ const ModelNameColumn = (props) => {
let _textComponent = <span style={{ color: '#000' }}>{text}</span>; let _textComponent = <span style={{ color: '#000' }}>{text}</span>;
if (data.digest) { if (data.digest) {
_textComponent = <div style={{ maxHeight: 300, overflow: 'auto' }}> _textComponent = <div>
<Table <Table
rowKey='name' rowKey='name'
dataSource={data.digest.attributeDigests||[]} dataSource={data.digest.attributeDigests||[]}
......
...@@ -41,7 +41,7 @@ const ResizeableHeaderCell = props => { ...@@ -41,7 +41,7 @@ const ResizeableHeaderCell = props => {
const SourceComponent = (props) => { const SourceComponent = (props) => {
const { data, onClick, name } = props; const { data, onClick, name } = props;
const moreSourceComponent = <div style={{ maxWidth: 400, maxHeight: 300, overflow: 'auto' }}> const moreSourceComponent = <div style={{ maxWidth: 400 }}>
{ {
(data||[]).map((source, index) => { (data||[]).map((source, index) => {
return ( return (
......
...@@ -91,7 +91,7 @@ const PartitionCURD = (props) => { ...@@ -91,7 +91,7 @@ const PartitionCURD = (props) => {
<Tooltip <Tooltip
placement='topLeft' placement='topLeft'
title={ title={
<div style={{ maxWidth: 400, maxHeight: 300, overflow: 'auto' }}> <div style={{ maxWidth: 400 }}>
{text||''} {text||''}
</div> </div>
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment