update 标签 to 标记
This commit is contained in:
parent
f6ec470070
commit
917374ba11
|
@ -348,7 +348,7 @@ class NewTags extends Component {
|
||||||
</a>
|
</a>
|
||||||
<Popconfirm
|
<Popconfirm
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
title={"删除标签会将其从所有引用中删除。继续?"}
|
title={"删除标记会将其从所有引用中删除,是否继续?"}
|
||||||
okText="是"
|
okText="是"
|
||||||
cancelText="否"
|
cancelText="否"
|
||||||
onConfirm={() => this.deletetag(item.id)}
|
onConfirm={() => this.deletetag(item.id)}
|
||||||
|
@ -383,7 +383,7 @@ class NewTags extends Component {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className="topWrapper" style={{borderBottom:"1px solid #eee"}}>
|
<div className="topWrapper" style={{borderBottom:"1px solid #eee"}}>
|
||||||
<span>共{data && data.issue_tags_count}个标签</span>
|
<span>共{data && data.issue_tags_count}个标记</span>
|
||||||
<ul className="topWrapper_select">
|
<ul className="topWrapper_select">
|
||||||
<li>
|
<li>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
|
@ -393,7 +393,7 @@ class NewTags extends Component {
|
||||||
placement="bottomCenter"
|
placement="bottomCenter"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
标签
|
标记
|
||||||
<Icon type="caret-down" className="ml5" />
|
<Icon type="caret-down" className="ml5" />
|
||||||
</span>
|
</span>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
@ -423,11 +423,11 @@ class NewTags extends Component {
|
||||||
className="flex-a-center baseForm bbr"
|
className="flex-a-center baseForm bbr"
|
||||||
style={{ "justify-content": "space-between" }}
|
style={{ "justify-content": "space-between" }}
|
||||||
>
|
>
|
||||||
<span className="font-18 text-black">项目标签</span>
|
<span className="font-18 text-black">项目标记</span>
|
||||||
{data && data.user_admin_or_member ? (
|
{data && data.user_admin_or_member ? (
|
||||||
<Button type="primary" ghost onClick={this.newshow}>
|
<Button type="primary" ghost onClick={this.newshow}>
|
||||||
<Icon type="plus"></Icon>
|
<Icon type="plus"></Icon>
|
||||||
创建标签
|
创建标记
|
||||||
</Button>
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
""
|
""
|
||||||
|
@ -442,7 +442,7 @@ class NewTags extends Component {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: "请填写标签名字",
|
message: "请填写标记名字",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})(<Input placeholder="名称,10字以内" maxLength="10" />)}
|
})(<Input placeholder="名称,10字以内" maxLength="10" />)}
|
||||||
|
@ -481,7 +481,7 @@ class NewTags extends Component {
|
||||||
onClick={this.createtagpost}
|
onClick={this.createtagpost}
|
||||||
className="fr"
|
className="fr"
|
||||||
>
|
>
|
||||||
创建标签
|
创建标记
|
||||||
</Button>
|
</Button>
|
||||||
{/* <a onClick={this.createtagpost} className="topWrapper_btn fr" >创建标签</a> */}
|
{/* <a onClick={this.createtagpost} className="topWrapper_btn fr" >创建标签</a> */}
|
||||||
<a onClick={this.newclose} className="a_btn cancel_btn fr">
|
<a onClick={this.newclose} className="a_btn cancel_btn fr">
|
||||||
|
@ -497,7 +497,7 @@ class NewTags extends Component {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Modal
|
<Modal
|
||||||
title="编辑标签"
|
title="编辑标记"
|
||||||
onCancel={this.handleCancel}
|
onCancel={this.handleCancel}
|
||||||
visible={this.state.isShow}
|
visible={this.state.isShow}
|
||||||
onOk={this.handleok}
|
onOk={this.handleok}
|
||||||
|
|
Loading…
Reference in New Issue