From b7702daea3022973770b77ef76fc01b3003c80de Mon Sep 17 00:00:00 2001 From: igophper <34326532+igophper@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:08:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=20(#7299)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/container/compose/create/index.vue | 1 + frontend/src/views/container/compose/edit/index.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/container/compose/create/index.vue b/frontend/src/views/container/compose/create/index.vue index 334e4551b..4265bf7a3 100644 --- a/frontend/src/views/container/compose/create/index.vue +++ b/frontend/src/views/container/compose/create/index.vue @@ -101,6 +101,7 @@ :indent-with-tab="true" :tabSize="4" :lineWrapping="true" + :disabled="true" :matchBrackets="true" theme="cobalt" :styleActiveLine="true" diff --git a/frontend/src/views/container/compose/edit/index.vue b/frontend/src/views/container/compose/edit/index.vue index bba6ed6a0..650b1556a 100644 --- a/frontend/src/views/container/compose/edit/index.vue +++ b/frontend/src/views/container/compose/edit/index.vue @@ -51,6 +51,7 @@ :tabSize="4" :lineWrapping="true" :matchBrackets="true" + :disabled="true" theme="cobalt" :styleActiveLine="true" :extensions="extensions" @@ -93,7 +94,7 @@ const name = ref(); const environmentStr = ref(); const environmentEnv = ref(); const createdBy = ref(); -const envFileContent = `env_file:\n - 1panel.env`; +const envFileContent = ref(`env_file:\n - 1panel.env`); const onSubmitEdit = async () => { const param = {