未验证 提交 72627be6 编写于 作者: X xingchun-chen 提交者: GitHub

Merge pull request #3925 from break60/1.3.3-release

[fixbug-3924][ui]Workflow definition name re-modified and added check
......@@ -170,8 +170,14 @@
}
// Edit => direct storage
if (this.store.state.dag.name) {
if (this.store.state.dag.name && this.store.state.dag.name===this.name) {
_verif()
} else if (this.store.state.dag.name && this.store.state.dag.name!==this.name) {
this.store.dispatch('dag/verifDAGName', this.name).then(res => {
_verif()
}).catch(e => {
this.$message.error(e.msg || '')
})
} else {
// New First verify that the name exists
this.store.dispatch('dag/verifDAGName', this.name).then(res => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册