修改控制表格的高度,处理出现双滚动轴的问题
This commit is contained in:
parent
15ecb0a949
commit
f8a20f1ab0
|
@ -17,7 +17,7 @@
|
|||
:loading="loading"
|
||||
@change="handleTableChange"
|
||||
:selectedRowKeys.sync="selectedRowKeys"
|
||||
:scroll="{ x: true, y: 'calc(100vh - 410px)' }"
|
||||
:scroll="{ x: true, y: 'calc(100vh - 415px)' }"
|
||||
>
|
||||
<template slot="index" slot-scope="{ index }">
|
||||
{{ index + 1 }}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
@change="handleTableChange"
|
||||
:scroll="{ y: 'calc(100vh - 365px)' }"
|
||||
:scroll="{ y: 'calc(100vh - 370px)' }"
|
||||
>
|
||||
<template slot="index" slot-scope="{ index }">
|
||||
{{ index + 1 }}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
@change="handleTableChange"
|
||||
:scroll="{ y: 'calc(100vh - 365px)' }"
|
||||
:scroll="{ y: 'calc(100vh - 370px)' }"
|
||||
>
|
||||
<template slot="index" slot-scope="{ index }">
|
||||
{{ index + 1 }}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
:rowSelection="{ selectedRowKeys: selectedRowKeys1, onChange: onSelectChange1, type: 'radio' }"
|
||||
:scroll="{ y: 'calc(100vh - 365px)' }"
|
||||
:scroll="{ y: 'calc(100vh - 370px)' }"
|
||||
@change="handleTableChange"
|
||||
>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
:loading="loading"
|
||||
@change="handleTableChange"
|
||||
:selectedRowKeys.sync="selectedRowKeys"
|
||||
:scroll="{ y: 'calc(100vh - 365px)' }"
|
||||
:scroll="{ y: 'calc(100vh - 370px)' }"
|
||||
>
|
||||
<template slot="index" slot-scope="{ index }">
|
||||
{{ index + 1 }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user