fix(测试跟踪): 功能用例高级搜索责任人下拉框无数据问题

--bug=1017995 --user=宋昌昌 【测试跟踪】测试用例-高级搜索-责任人下拉框无数据 https://www.tapd.cn/55049933/s/1261881

Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
MeterSphere Bot 2022-10-14 23:47:48 +08:00 committed by GitHub
parent 2333ca5c27
commit 16b602c068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -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];