fix(接口定义): 复制环境修改环境后保存失败
This commit is contained in:
parent
71c2947f6b
commit
70b789024f
|
@ -11,7 +11,7 @@
|
||||||
<environment-edit :if-create="ifCreate" :environment="currentEnvironment"
|
<environment-edit :if-create="ifCreate" :environment="currentEnvironment"
|
||||||
ref="environmentEdit" :is-read-only="isReadOnly"
|
ref="environmentEdit" :is-read-only="isReadOnly"
|
||||||
@confirm="save" :is-project="true"
|
@confirm="save" :is-project="true"
|
||||||
@close="close"/>
|
@close="close" @refreshAfterSave="refresh"/>
|
||||||
</el-container>
|
</el-container>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -226,7 +226,10 @@ export default {
|
||||||
},
|
},
|
||||||
delEnvironment() {
|
delEnvironment() {
|
||||||
this.deleteEnvironment(this.currentEnvironment, this.currentIndex)
|
this.deleteEnvironment(this.currentEnvironment, this.currentIndex)
|
||||||
}
|
},
|
||||||
|
refresh() {
|
||||||
|
this.getEnvironments();
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue