update:弹框优化

This commit is contained in:
2025-12-29 16:11:09 +08:00
parent e050770714
commit c50c4bce06
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
show-zoom
resize
v-bind="$attrs"
transfer
:className="bodyClass"
:maskClosable="closeOnClickModal"
>

View File

@@ -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%;