remove balloons in configuration management page

This commit is contained in:
wfnuser 2018-11-26 10:08:36 +08:00 committed by zhichen
parent 79745783e9
commit 01a067be42

View File

@ -22,7 +22,6 @@ import ImportDialog from 'components/ImportDialog';
import ExportDialog from 'components/ExportDialog'; import ExportDialog from 'components/ExportDialog';
import { getParams, setParams, request, aliwareIntl } from '../../../globalLib'; import { getParams, setParams, request, aliwareIntl } from '../../../globalLib';
import { import {
Balloon,
Button, Button,
Checkbox, Checkbox,
Collapse, Collapse,
@ -799,48 +798,6 @@ class ConfigurationManagement extends React.Component {
const locale = { const locale = {
empty: pubnodedata, empty: pubnodedata,
}; };
const helpDataId = (
<Balloon
trigger={
<span>
Data ID{' '}
<Icon
type={'help'}
size={'small'}
style={{ color: '#1DC11D', marginRight: 5, verticalAlign: 'middle' }}
/>
</span>
}
align={'t'}
style={{ marginRight: 5 }}
triggerType={'hover'}
>
<a href={window._getLink && window._getLink('knowDataid')} target={'_blank'}>
{aliwareIntl.get('com.alibaba.nacos.page.configurationManagement.click_to_learn_DataId')}
</a>
</Balloon>
);
const helpGroup = (
<Balloon
trigger={
<span>
Group{' '}
<Icon
type={'help'}
size={'small'}
style={{ color: '#1DC11D', marginRight: 5, verticalAlign: 'middle' }}
/>
</span>
}
align={'t'}
style={{ marginRight: 5 }}
triggerType={'hover'}
>
<a href={window._getLink && window._getLink('knowGoup')} target={'_blank'}>
{aliwareIntl.get('com.alibaba.nacos.page.configurationManagement.click_to_learn_Group')}
</a>
</Balloon>
);
return ( return (
<div> <div>
<BatchHandle ref={ref => (this.batchHandle = ref)} /> <BatchHandle ref={ref => (this.batchHandle = ref)} />
@ -1040,8 +997,8 @@ class ConfigurationManagement extends React.Component {
language={aliwareIntl.currentLanguageCode} language={aliwareIntl.currentLanguageCode}
ref={'dataTable'} ref={'dataTable'}
> >
<Table.Column title={helpDataId} dataIndex={'dataId'} /> <Table.Column title={'Data Id'} dataIndex={'dataId'} />
<Table.Column title={helpGroup} dataIndex={'group'} /> <Table.Column title={'Group'} dataIndex={'group'} />
{!this.inApp ? ( {!this.inApp ? (
<Table.Column <Table.Column
title={aliwareIntl.get('nacos.page.configurationManagement.HOME_Application')} title={aliwareIntl.get('nacos.page.configurationManagement.HOME_Application')}