From 6dc0b8d87521eb3fb5427b46e0df05e1cc936784 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 10 Jun 2021 15:13:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E4=B8=80=E7=BA=A7=E5=88=86?= =?UTF-8?q?=E7=BB=84=E3=80=81=E5=9C=BA=E6=99=AFpid=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/group/Group.vue | 4 ++-- frontend/src/views/dataset/group/Group.vue | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 6a6f96d4e5..b58e414370 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -252,7 +252,7 @@ export default { expandedArray: [], groupForm: { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], @@ -451,7 +451,7 @@ export default { this.editGroup = false this.groupForm = { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue index 137bfb2cb0..6c8d1b15aa 100644 --- a/frontend/src/views/dataset/group/Group.vue +++ b/frontend/src/views/dataset/group/Group.vue @@ -285,7 +285,7 @@ export default { expandedArray: [], groupForm: { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], @@ -293,7 +293,7 @@ export default { }, dsForm: { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], @@ -508,7 +508,7 @@ export default { this.editGroup = false this.groupForm = { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], @@ -629,7 +629,7 @@ export default { this.moveGroup = false this.groupForm = { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [], @@ -656,7 +656,7 @@ export default { this.moveDs = false this.dsForm = { name: '', - pid: null, + pid: '0', level: 0, type: '', children: [],