fix(测试跟踪): 修复测试计划关联case页面标签为空时显示[]的缺陷
--bug=1023762 --user=王孝刚 【测试跟踪】测试计划-关联接口测试用例-case列表-标签为空显示[] https://www.tapd.cn/55049933/s/1341915
This commit is contained in:
parent
3d72d0af67
commit
a905301736
|
@ -246,7 +246,11 @@ export default {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.total = response.data.itemCount;
|
this.total = response.data.itemCount;
|
||||||
this.tableData = response.data.listObject;
|
this.tableData = response.data.listObject;
|
||||||
parseTag(this.tableData);
|
this.tableData.forEach(item => {
|
||||||
|
if (item.tags && item.tags.length > 0) {
|
||||||
|
item.tags = JSON.parse(item.tags);
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
clear() {
|
clear() {
|
||||||
|
|
Loading…
Reference in New Issue