fix: 解决进程守护启动命令带空格导致报错的问题 (#4894)

This commit is contained in:
zhengkunwang 2024-05-07 18:00:48 +08:00 committed by GitHub
parent 4243ccb5c2
commit 736914f443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ export const DNSTypes = [
value: 'DnsPod',
},
{
label: 'CloudFlare',
label: 'Cloudflare',
value: 'CloudFlare',
},
{

View file

@ -21,7 +21,7 @@
</el-input>
</el-form-item>
<el-form-item :label="$t('tool.supervisor.command')" prop="command">
<el-input v-model="process.command"></el-input>
<el-input v-model.trim="process.command"></el-input>
</el-form-item>
<el-form-item :label="$t('tool.supervisor.numprocs')" prop="numprocsNum">
<el-input type="number" v-model.number="process.numprocsNum"></el-input>