From 9f4b9b5ebffd91bbd66721561d0d812b8de13244 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 24 May 2021 21:25:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/metersphere/xpack | 2 +- frontend/src/business/components/settings/system/EditUser.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index 9925f59ecd..2cd34f2f95 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit 9925f59ecdaed93a4365d83f8473d6788a233c4b +Subproject commit 2cd34f2f9588672a8c3a3f6c4a74bcbdcad49ac8 diff --git a/frontend/src/business/components/settings/system/EditUser.vue b/frontend/src/business/components/settings/system/EditUser.vue index 06d9242936..4e0c17c915 100644 --- a/frontend/src/business/components/settings/system/EditUser.vue +++ b/frontend/src/business/components/settings/system/EditUser.vue @@ -288,7 +288,9 @@ export default { return idType.split("+")[1]; }, getResource(idType, index) { - if (!idType) return; + if (!idType) { + return; + } let id = idType.split("+")[0]; let type = idType.split("+")[1]; this.result = this.$get('/organization/list/resource/' + id + "/" + type, res => {