From e0a0bbffef35333e59f579df55ae2650f332eba7 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 21 May 2020 14:52:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=90=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=97=B6=E5=90=8D=E7=A7=B0=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/components/track/common/NodeEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/common/NodeEdit.vue b/frontend/src/business/components/track/common/NodeEdit.vue index 5d258cd5ff..004cdc60ce 100644 --- a/frontend/src/business/components/track/common/NodeEdit.vue +++ b/frontend/src/business/components/track/common/NodeEdit.vue @@ -63,7 +63,7 @@ open(type, data, nodeIds) { this.type = type; this.node = data; - if (this.node) { + if (type == 'edit') { this.form.name = this.node.name; } this.nodeIds = nodeIds;