大屏预览宽度100%

This commit is contained in:
mll
2026-02-08 22:45:11 +08:00
parent 13e436bbb5
commit 45f85ee6e8
3 changed files with 8 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ export default {
}, },
// 对象深拷贝 // 对象深拷贝
deepClone(data,dd) { deepClone(data) {
let type = this.getObjectType(data) let type = this.getObjectType(data)
let obj let obj
if (type === 'array') { if (type === 'array') {

View File

@@ -6,7 +6,7 @@
* @Last Modified time: 2022-5-6 11:04:24 * @Last Modified time: 2022-5-6 11:04:24
!--> !-->
<template> <template>
<div class="layout"> <div class="layout drillDrownViewLayout">
<div :style="bigScreenStyle"> <div :style="bigScreenStyle">
<widget <widget
v-for="(widget, index) in widgets" v-for="(widget, index) in widgets"
@@ -147,4 +147,9 @@ export default {
bottom: 16px; bottom: 16px;
z-index: 9999; z-index: 9999;
} }
.drillDrownViewLayout{
&>div{
width:100% !important;
}
}
</style> </style>

View File

@@ -141,7 +141,7 @@ export default {
margin-top:0 !important; margin-top:0 !important;
.el-dialog__body{ .el-dialog__body{
padding:0; padding:0;
height:calc(100vh - 60px); height:calc(100vh - 34px);
overflow-y:auto; overflow-y:auto;
} }
.el-dialog__header .el-dialog__headerbtn{ .el-dialog__header .el-dialog__headerbtn{