fix(测试跟踪): 功能用例关联需求选项为空
--bug=1018096 --user=陈建星 【测试跟踪】集成tapd-测试用例关联需求-需求列表为空 https://www.tapd.cn/55049933/s/1262520
This commit is contained in:
parent
f2d30f6187
commit
ffd41ab80d
|
@ -536,10 +536,10 @@ export default {
|
||||||
this.result = {loading: true};
|
this.result = {loading: true};
|
||||||
this.demandLabel = '';
|
this.demandLabel = '';
|
||||||
issueDemandList(this.projectId)
|
issueDemandList(this.projectId)
|
||||||
.then(response => {
|
.then(r => {
|
||||||
this.demandOptions = [];
|
this.demandOptions = [];
|
||||||
if (response.data.data && response.data.data.length > 0) {
|
if (r.data && r.data.length > 0) {
|
||||||
this.buildDemandCascaderOptions(response.data.data, this.demandOptions, []);
|
this.buildDemandCascaderOptions(r.data, this.demandOptions, []);
|
||||||
}
|
}
|
||||||
this.addOtherOption();
|
this.addOtherOption();
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
Loading…
Reference in New Issue