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, type: API_SCENARIO_LIST,
headerItems: Api_Scenario_List, headerItems: Api_Scenario_List,
tableLabel: [], tableLabel: [],
screenHeight: document.documentElement.clientHeight - 280,//, screenHeight: 'calc(100vh - 275px)',//,
condition: { condition: {
components: API_SCENARIO_CONFIGS components: API_SCENARIO_CONFIGS
}, },

View File

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

View File

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

View File

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

View File

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

View File

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