微调样子
This commit is contained in:
@@ -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'
|
||||
@@ -112,12 +112,12 @@
|
||||
|
||||
const props = defineProps({
|
||||
width: {
|
||||
type: String,
|
||||
default: '800px',
|
||||
type: Number,
|
||||
default: 800,
|
||||
},
|
||||
height: {
|
||||
type: String,
|
||||
default: '744px',
|
||||
type: Number,
|
||||
default: 744,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<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'
|
||||
:modal='false'>
|
||||
<div class='table-box' :style="{height:(height-64)+'px',maxHeight:(height-64)+'px',overflow:'hidden'}">
|
||||
@@ -50,8 +51,8 @@ const props = defineProps({
|
||||
default: 800,
|
||||
},
|
||||
height: {
|
||||
type: String,
|
||||
default: '744px',
|
||||
type: Number,
|
||||
default: 744,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user