修改分页定义

This commit is contained in:
2024-11-01 13:29:00 +08:00
parent 998b30d153
commit c875ab72fa
3 changed files with 122 additions and 123 deletions

View File

@@ -3,11 +3,11 @@
<el-dialog class='table-box'
v-model='dialogVisible'
top='114px'
:style="{height:height,maxHeight:height,overflow:'hidden'}"
:style="{height:height+'px',maxHeight:height+'px',overflow:'hidden'}"
:title='title'
:width='width'
:modal='false'>
<div class='table-box'>
<div class='table-box' :style="{height:(height-64)+'px',maxHeight:(height-64)+'px',overflow:'hidden'}">
<ProTable
ref='proTable'
:columns='columns'
@@ -140,12 +140,12 @@ defineExpose({ open })
const props = defineProps({
width: {
type: String,
default: '800px',
type: Number,
default: 800,
},
height: {
type: String,
default: '744px',
type: Number,
default: 744,
},
})