微调样子
This commit is contained in:
@@ -3,11 +3,11 @@
|
|||||||
<el-dialog class='table-box'
|
<el-dialog class='table-box'
|
||||||
v-model='dialogVisible'
|
v-model='dialogVisible'
|
||||||
top='114px'
|
top='114px'
|
||||||
:style="{height:height,maxHeight:height,overflow:'hidden'}"
|
:style="{ height: height+'px', maxHeight: height+'px', overflow: 'hidden' }"
|
||||||
:title='title'
|
:title='title'
|
||||||
:width='width'
|
:width='width'
|
||||||
:modal='false'>
|
:modal='false'>
|
||||||
<div class='table-box'>
|
<div class='table-box' :style="{height:(height-64)+'px',maxHeight:(height-64)+'px',overflow:'hidden'}">
|
||||||
<ProTable
|
<ProTable
|
||||||
ref='proTable'
|
ref='proTable'
|
||||||
:columns='columns'
|
:columns='columns'
|
||||||
@@ -112,12 +112,12 @@
|
|||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
width: {
|
width: {
|
||||||
type: String,
|
type: Number,
|
||||||
default: '800px',
|
default: 800,
|
||||||
},
|
},
|
||||||
height: {
|
height: {
|
||||||
type: String,
|
type: Number,
|
||||||
default: '744px',
|
default: 744,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog class='table-box' v-model='dialogVisible' top='114px'
|
<el-dialog class='table-box' v-model='dialogVisible' top='114px'
|
||||||
:style="{ height: height+'px', maxHeight: height+'px', overflow: 'hidden' }" title='字典数据'
|
:style="{ height: height+'px', maxHeight: height+'px', overflow: 'hidden' }"
|
||||||
|
title='字典数据'
|
||||||
:width='width'
|
:width='width'
|
||||||
:modal='false'>
|
:modal='false'>
|
||||||
<div class='table-box' :style="{height:(height-64)+'px',maxHeight:(height-64)+'px',overflow:'hidden'}">
|
<div class='table-box' :style="{height:(height-64)+'px',maxHeight:(height-64)+'px',overflow:'hidden'}">
|
||||||
@@ -50,8 +51,8 @@ const props = defineProps({
|
|||||||
default: 800,
|
default: 800,
|
||||||
},
|
},
|
||||||
height: {
|
height: {
|
||||||
type: String,
|
type: Number,
|
||||||
default: '744px',
|
default: 744,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user