Commit 6f3ba2d5 authored by chenjianxing's avatar chenjianxing Committed by jianxing
Browse files

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

Showing with 4 additions and 3 deletions
+4 -3
...@@ -6,11 +6,10 @@ ...@@ -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 { ...@@ -285,6 +284,7 @@ export default {
default: false default: false
}, },
initApiTableOpretion: String, initApiTableOpretion: String,
isRelate: Boolean
}, },
data() { data() {
return { return {
......
...@@ -21,6 +21,7 @@ ...@@ -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"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment