refactor: 场景导入页面高度优化

This commit is contained in:
chenjianxing 2021-07-15 19:44:36 +08:00 committed by jianxing
parent 125088d4b1
commit 6f3ba2d5b9
2 changed files with 4 additions and 3 deletions

View File

@ -6,11 +6,10 @@
<ms-table
:data="tableData"
:height="screenHeight"
:screen-height="screenHeight"
:screen-height="isRelate ? 'calc(100vh - 400px)' : screenHeight"
:condition="condition"
:page-size="pageSize"
:operators="operators"
:operators="isRelate ? [] : operators"
:batch-operators="buttons"
:total="total"
:fields.sync="fields"
@ -285,6 +284,7 @@ export default {
default: false
},
initApiTableOpretion: String,
isRelate: Boolean
},
data() {
return {

View File

@ -21,6 +21,7 @@
:trash-enable="false"
:is-reference-table="true"
@selection="setData"
:is-relate="true"
:custom-num="customNum"
ref="apiScenarioList"/>