fix: 修复表格高度
This commit is contained in:
parent
308d35aaf2
commit
bb8051bd00
|
@ -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
|
||||
},
|
||||
|
|
|
@ -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')},
|
||||
],
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -362,7 +362,7 @@ export default {
|
|||
currentPage: 1,
|
||||
pageSize: 10,
|
||||
total: 0,
|
||||
screenHeight: 'calc(100vh - 310px)',//屏幕高度,
|
||||
screenHeight: 'calc(100vh - 320px)',//屏幕高度,
|
||||
environmentId: undefined,
|
||||
selectDataCounts: 0,
|
||||
};
|
||||
|
|
|
@ -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: {},
|
||||
|
|
Loading…
Reference in New Issue