1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

feat: 进程守护名称支持-_等字符 (#4442)

Refs https://github.com/1Panel-dev/1Panel/issues/4303
This commit is contained in:
zhengkunwang 2024-04-09 16:38:09 +08:00 committed by GitHub
parent 1e22769c8b
commit ef075df3fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ const open = ref(false);
const loading = ref(false);
const processForm = ref<FormInstance>();
const rules = ref({
name: [Rules.requiredInput, Rules.simpleName],
name: [Rules.requiredInput, Rules.linuxName],
dir: [Rules.requiredInput],
command: [Rules.requiredInput],
user: [Rules.requiredInput],