update 标签 to 标记

This commit is contained in:
caishi 2021-09-16 10:03:39 +08:00
parent f6ec470070
commit 917374ba11
1 changed files with 8 additions and 8 deletions

View File

@ -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}