refactor: 场景导入页面高度优化
This commit is contained in:
parent
125088d4b1
commit
6f3ba2d5b9
|
@ -6,11 +6,10 @@
|
||||||
|
|
||||||
<ms-table
|
<ms-table
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:height="screenHeight"
|
:screen-height="isRelate ? 'calc(100vh - 400px)' : screenHeight"
|
||||||
:screen-height="screenHeight"
|
|
||||||
:condition="condition"
|
:condition="condition"
|
||||||
:page-size="pageSize"
|
:page-size="pageSize"
|
||||||
:operators="operators"
|
:operators="isRelate ? [] : operators"
|
||||||
:batch-operators="buttons"
|
:batch-operators="buttons"
|
||||||
:total="total"
|
:total="total"
|
||||||
:fields.sync="fields"
|
:fields.sync="fields"
|
||||||
|
@ -285,6 +284,7 @@ export default {
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
initApiTableOpretion: String,
|
initApiTableOpretion: String,
|
||||||
|
isRelate: Boolean
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
:trash-enable="false"
|
:trash-enable="false"
|
||||||
:is-reference-table="true"
|
:is-reference-table="true"
|
||||||
@selection="setData"
|
@selection="setData"
|
||||||
|
:is-relate="true"
|
||||||
:custom-num="customNum"
|
:custom-num="customNum"
|
||||||
ref="apiScenarioList"/>
|
ref="apiScenarioList"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue