From 1473745cf39e94933179276a6d533bff2ceff79d Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周二, 06 5月 2025 16:22:55 +0800
Subject: [PATCH] 任务管理
---
PipeLineLems/web/src/provider/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/PipeLineLems/web/src/provider/index.vue b/PipeLineLems/web/src/provider/index.vue
index 526c17d..ad1e51c 100644
--- a/PipeLineLems/web/src/provider/index.vue
+++ b/PipeLineLems/web/src/provider/index.vue
@@ -1,7 +1,12 @@
<template>
<el-config-provider :namespace="namespace" :z-index="100" :locale="local">
<!-- 椤甸潰 -->
- <div v-if="!notPage" class="widget_slot_page_content" v-bind="widgetProps">
+ <div
+ v-if="!notPage"
+ class="widget_slot_page_content"
+ v-bind="widgetProps"
+ :style="{ width, height, ...widgetProps.style }"
+ >
<template v-if="hasNested">
<!-- 鑷畾涔夊澹� -->
<slot name="nested"></slot>
@@ -89,11 +94,11 @@
})
const width = computed(() => {
const { width } = props.defaultConfig
- return props.isApp ? '100%' : width || '1920px'
+ return props.isApp ? '100%' : width || '100%'
})
const height = computed(() => {
const { height } = props.defaultConfig
- return props.isApp ? '100%' : height || '1080px'
+ return props.isApp ? '100%' : height || '100%'
})
const widgetProps = computed(() => {
--
Gitblit v1.9.3