fix(接口测试): 解决场景导入接口列表标签显示问题
This commit is contained in:
parent
1f776e1d9e
commit
668b4deba2
|
@ -198,7 +198,7 @@
|
|||
result: {},
|
||||
moduleId: "",
|
||||
deletePath: "/test/case/delete",
|
||||
screenHeight: document.documentElement.clientHeight - 500,//屏幕高度,
|
||||
screenHeight: document.documentElement.clientHeight - 400,//屏幕高度,
|
||||
typeArr: [
|
||||
{id: 'priority', name: this.$t('test_track.case.priority')},
|
||||
],
|
||||
|
@ -315,6 +315,11 @@
|
|||
this.result = this.$post(url + this.currentPage + "/" + this.pageSize, this.condition, response => {
|
||||
this.total = response.data.itemCount;
|
||||
this.tableData = response.data.listObject;
|
||||
this.tableData.forEach(item => {
|
||||
if (item.tags && item.tags.length > 0) {
|
||||
item.tags = JSON.parse(item.tags);
|
||||
}
|
||||
});
|
||||
this.genProtocalFilter(this.condition.protocol);
|
||||
this.$nextTick(function () {
|
||||
if (this.$refs.apitable) {
|
||||
|
|
|
@ -211,7 +211,7 @@ export default {
|
|||
priority: CASE_PRIORITY,
|
||||
},
|
||||
methodColorMap: new Map(API_METHOD_COLOUR),
|
||||
screenHeight: document.documentElement.clientHeight - 330,//屏幕高度
|
||||
screenHeight: document.documentElement.clientHeight - 400,//屏幕高度
|
||||
tableData: [],
|
||||
currentPage: 1,
|
||||
pageSize: 10,
|
||||
|
|
Loading…
Reference in New Issue