From 262a1b409fc1561f1799771aa476a6f2465c77a4 Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 28 Jan 2026 17:59:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E7=BC=96=E8=BE=91=E5=AF=B9=E8=AF=9D=E6=A1=86?= =?UTF-8?q?=E8=B6=85=E5=87=BA=E5=B1=8F=E5=B9=95=E9=AB=98=E5=BA=A6=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 CSS calc(80vh - 180px) 控制 textarea 高度 --- frontend/src/views/scheduled-tasks/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/scheduled-tasks/index.vue b/frontend/src/views/scheduled-tasks/index.vue index 8ecf58c..2392be1 100644 --- a/frontend/src/views/scheduled-tasks/index.vue +++ b/frontend/src/views/scheduled-tasks/index.vue @@ -939,7 +939,7 @@ onMounted(() => { - +
SDK 文档 @@ -949,7 +949,6 @@ onMounted(() => { @@ -1018,6 +1017,13 @@ onMounted(() => { font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; font-size: 14px; line-height: 1.6; + height: calc(80vh - 180px) !important; + min-height: 400px; +} + +/* 脚本全屏编辑对话框 */ +.script-dialog :deep(.el-dialog__body) { + padding: 15px 20px; } .script-fullscreen-toolbar {