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:
parent
2333ca5c27
commit
16b602c068
|
@ -525,12 +525,13 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getTemplateField() {
|
getTemplateField() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
let p1 = getProjectMember((data) => {
|
let p1 = getProjectMember()
|
||||||
this.members = data;
|
.then((response) => {
|
||||||
this.members.forEach(item => {
|
this.members = response.data;
|
||||||
this.memberMap.set(item.id, item.name);
|
this.members.forEach(item => {
|
||||||
|
this.memberMap.set(item.id, item.name);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
let p2 = getTestTemplate();
|
let p2 = getTestTemplate();
|
||||||
Promise.all([p1, p2]).then((data) => {
|
Promise.all([p1, p2]).then((data) => {
|
||||||
let template = data[1];
|
let template = data[1];
|
||||||
|
|
Loading…
Reference in New Issue