From 16b602c0680b6175254318b73f4d4501316818ce Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Fri, 14 Oct 2022 23:47:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E9=AB=98=E7=BA=A7=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E8=B4=A3=E4=BB=BB=E4=BA=BA=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E6=97=A0=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017995 --user=宋昌昌 【测试跟踪】测试用例-高级搜索-责任人下拉框无数据 https://www.tapd.cn/55049933/s/1261881 Co-authored-by: song-cc-rock --- .../src/business/case/components/TestCaseList.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index bcc6810c2c..d7029a3721 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -525,12 +525,13 @@ export default { methods: { getTemplateField() { this.loading = true; - let p1 = getProjectMember((data) => { - this.members = data; - this.members.forEach(item => { - this.memberMap.set(item.id, item.name); + let p1 = getProjectMember() + .then((response) => { + this.members = response.data; + this.members.forEach(item => { + this.memberMap.set(item.id, item.name); + }); }); - }); let p2 = getTestTemplate(); Promise.all([p1, p2]).then((data) => { let template = data[1];