Commit 1a8a2acc by Joey

fix(@rbc/bill-runner-query): 添加页签和账套时计算表格高度

parent f83b8c35
......@@ -3,6 +3,7 @@
:templateName="config.name"
v-if="config.name"
:extrCondition="extrCondition"
:tableHeight="tableHeight"
></gms-query>
<p v-else>没有查询模板定义!</p>
</template>
......@@ -18,8 +19,16 @@ export default {
},
},
data() {
let height = window.innerHeight - 245
if (window.osConfig.appOpenMode == 'apploader') {
height -= 32
}
if (window.osConfig.showAcctbookBar) {
height -= 32
}
return {
extrCondition: [],
tableHeight: height,
};
},
mounted() {
......
Markdown is supported
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