diff --git a/src/forge/Settings/new_tags.js b/src/forge/Settings/new_tags.js
index 10ccbdda3..d0affbc8f 100644
--- a/src/forge/Settings/new_tags.js
+++ b/src/forge/Settings/new_tags.js
@@ -46,7 +46,7 @@ class NewTags extends Component {
description: "",
id: "",
modelname: "",
- isSpin: false,
+ isSpin: true,
};
}
componentDidUpdate=(prevPros)=>{
@@ -60,6 +60,9 @@ class NewTags extends Component {
};
getList = (page, order_name, order_type) => {
+ this.setState({
+ isSpin:true
+ })
const { projectsId , owner } = this.props.match.params;
const { limit } = this.state;
const url = `/${owner}/${projectsId}/labels.json`;
@@ -76,6 +79,7 @@ class NewTags extends Component {
if (result) {
this.setState({
data: result.data,
+ isSpin:false
});
}
})
@@ -247,7 +251,6 @@ class NewTags extends Component {
render() {
const { data, limit, page, isSpin } = this.state;
- const { projectsId } = this.props.match.params;
const { getFieldDecorator } = this.props.form;
const menu = (
@@ -409,8 +412,8 @@ class NewTags extends Component {
);
- } else {
- return