Commit dd628253 authored by 王鑫's avatar 王鑫

fix(节假日): 表格内滚动

parent dda05e7d
......@@ -34,6 +34,7 @@
:rowKey="rowKey"
:pagination="false"
bordered
:scroll="{y: clientHeight }"
>
<div slot="title" slot-scope="data">
<span class="cust-title">
......@@ -127,7 +128,8 @@ export default {
total: 0,
detailData: {},
isShow: false,
isEdit: false
isEdit: false,
clientHeight: 0
}
},
computed: {
......@@ -267,6 +269,7 @@ export default {
}
},
mounted() {
this.clientHeight = document.body.clientHeight-250;
this.initYears()
this.getHolidayType()
if (this.isFirstLoad == true) {
......
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