update:弹框优化
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
show-zoom
|
||||
resize
|
||||
v-bind="$attrs"
|
||||
transfer
|
||||
:className="bodyClass"
|
||||
:maskClosable="closeOnClickModal"
|
||||
>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<Dialog v-model="diaVisible" diaTitle="预览文件" top="5vh" width="70%" @close="closeFun">
|
||||
<Dialog v-model="diaVisible" diaTitle="预览文件" width="70%" height="90%" @close="closeFun">
|
||||
<template v-if="diaVisible">
|
||||
<div v-if="url && type === 'default'" class="content">
|
||||
<iframe class="iframe" :src="url" />
|
||||
@@ -67,7 +67,7 @@ const closeFun = () => {
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
width: 100%;
|
||||
height: calc(90vh - 85px);
|
||||
height: calc(100% - 5px);
|
||||
.iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user