fix: 修复表格高度

This commit is contained in:
Captain.B 2021-05-27 10:33:43 +08:00 committed by 刘瑞斌
parent 308d35aaf2
commit bb8051bd00
6 changed files with 6 additions and 6 deletions

View File

@ -283,7 +283,7 @@ export default {
type: API_SCENARIO_LIST,
headerItems: Api_Scenario_List,
tableLabel: [],
screenHeight: document.documentElement.clientHeight - 280,//,
screenHeight: 'calc(100vh - 275px)',//,
condition: {
components: API_SCENARIO_CONFIGS
},

View File

@ -197,7 +197,7 @@
result: {},
moduleId: "",
deletePath: "/test/case/delete",
screenHeight: document.documentElement.clientHeight - 400,//,
screenHeight: 'calc(100vh - 400px)',//,
typeArr: [
{id: 'priority', name: this.$t('test_track.case.priority')},
],

View File

@ -166,7 +166,7 @@ export default {
priority: CASE_PRIORITY,
},
methodColorMap: new Map(API_METHOD_COLOUR),
screenHeight: document.documentElement.clientHeight - 400,//
screenHeight: 'calc(100vh - 400px)',//
tableData: [],
currentPage: 1,
pageSize: 10,

View File

@ -232,7 +232,7 @@ export default {
currentPage: 1,
pageSize: 10,
total: 0,
screenHeight: document.documentElement.clientHeight - 330,//
screenHeight: 'calc(100vh - 320px)',//
environmentId: undefined,
selectAll: false,
unSelection: [],

View File

@ -362,7 +362,7 @@ export default {
currentPage: 1,
pageSize: 10,
total: 0,
screenHeight: 'calc(100vh - 310px)',//,
screenHeight: 'calc(100vh - 320px)',//,
environmentId: undefined,
selectDataCounts: 0,
};

View File

@ -230,7 +230,7 @@ export default {
data() {
return {
type: TEST_CASE_LIST,
screenHeight: document.documentElement.clientHeight - 310,
screenHeight: 'calc(100vh - 322px)',
headerItems: Track_Test_Case,
tableLabel: [],
result: {},