From cd79cac0af594a45142a71b6d4fd457c092b82d9 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Thu, 13 Apr 2023 14:30:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E4=BC=98=E5=8C=96=20(#612)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 2 ++ frontend/src/lang/modules/zh.ts | 2 +- frontend/src/views/container/compose/create/index.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 291d75e209e9..9f8b8559c4aa 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -3,6 +3,7 @@ const message = { commons: { true: 'true', false: 'false', + example: 'Such as:', button: { create: 'Create ', add: 'Add ', @@ -537,6 +538,7 @@ const message = { compose: 'Compose', composeHelper: 'The current content has passed the format verification. Please click Submit to complete the creation', + composePathHelper: 'Config file save path: {0}', apps: 'Apps', local: 'Local', createCompose: 'Create compose', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index db4de1068f5c..93176dea633e 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -545,7 +545,7 @@ const message = { compose: '编排', composeHelper: '当前内容已通过格式验证,请点击确认完成创建', - composePathHelper: '容器编排将保存在: {0}', + composePathHelper: '配置文件保存路径: {0}', apps: '应用商店', local: '本地', createCompose: '创建编排', diff --git a/frontend/src/views/container/compose/create/index.vue b/frontend/src/views/container/compose/create/index.vue index 2678e3b7a028..e7e1ea926ca7 100644 --- a/frontend/src/views/container/compose/create/index.vue +++ b/frontend/src/views/container/compose/create/index.vue @@ -199,7 +199,7 @@ const loadPath = async () => { }; const changePath = async () => { - composeFile.value = baseDir.value + '/docker/compose/' + form.name + '/xxx'; + composeFile.value = baseDir.value + '/docker/compose/' + form.name; }; type FormInstance = InstanceType;