From 7ac2a56db73aee13b0d23010aedf5bccbd0531c3 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Sat, 2 Jul 2022 16:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableCollection/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index b884e6e8c..d70c8ee3b 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -400,6 +400,7 @@ paramsManifestId: this.$route.query.id, projectId: this.$route.query.projectId } + this.loading = true getAction(this.url.getLoginUserType, params).then((res) => { if (res.success) { this.getAndUserId(res.result) @@ -415,6 +416,9 @@ getAction('/params/userTypeLog/queryCurrentType', query).then((res) => { if (res.success) { if (res.result && res.result.userType) { + if (!(result.some(val => val.value == res.result.userType))) { + res.result.userType = result[0] ? result[0].value : '' + } this.getTableList(res.result.userType) } else { this.getTableList(result[0].value)