diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts
index 156768f21..de0c9d5a6 100644
--- a/frontend/src/lang/modules/en.ts
+++ b/frontend/src/lang/modules/en.ts
@@ -1276,7 +1276,7 @@ const message = {
runtime: {
runtime: 'Runtime',
image: 'Image',
- workDir: 'working directory',
+ workDir: 'Working directory',
create: 'Create runtime',
name: 'Name',
resource: 'Source',
@@ -1286,6 +1286,7 @@ const message = {
localHelper: 'The local operating environment needs to be installed by itself',
version: 'Version',
status: 'Status',
+ versionHelper: 'PHP version, e.g. v8.0',
},
};
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index 12b430a91..92b89af12 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -1272,6 +1272,7 @@ const message = {
localHelper: '本地运行环境需要自行安装',
version: '版本',
status: '状态',
+ versionHelper: 'PHP的版本,例如 v8.0',
},
};
export default {
diff --git a/frontend/src/views/website/runtime/create/index.vue b/frontend/src/views/website/runtime/create/index.vue
index e7d56dadc..edf93a8d5 100644
--- a/frontend/src/views/website/runtime/create/index.vue
+++ b/frontend/src/views/website/runtime/create/index.vue
@@ -82,7 +82,7 @@
-
+
@@ -144,7 +144,7 @@ const rules = ref({
name: [Rules.appName],
resource: [Rules.requiredInput],
appId: [Rules.requiredSelect],
- version: [Rules.requiredInput],
+ version: [Rules.requiredInput, Rules.paramCommon],
image: [Rules.requiredInput, Rules.imageName],
});
@@ -268,6 +268,7 @@ const getRuntime = async (id: number) => {
const acceptParams = async (props: OperateRrops) => {
mode.value = props.mode;
+ initParam.value = false;
if (props.mode === 'create') {
runtime.value = {
name: '',