diff --git a/frontend/src/views/container/compose/edit/index.vue b/frontend/src/views/container/compose/edit/index.vue index bba6ed6a066e2..a8936470541ec 100644 --- a/frontend/src/views/container/compose/edit/index.vue +++ b/frontend/src/views/container/compose/edit/index.vue @@ -93,7 +93,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 = {