fix: 修复表格高度
This commit is contained in:
parent
308d35aaf2
commit
bb8051bd00
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
|
@ -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')},
|
||||||
],
|
],
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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: [],
|
||||||
|
|
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
|
@ -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: {},
|
||||||
|
|
Loading…
Reference in New Issue