Skip to content

Commit

Permalink
fix: 解决进程守护启动命令带空格导致报错的问题 (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored May 7, 2024
1 parent 4243ccb commit 736914f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/global/mimetype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const DNSTypes = [
value: 'DnsPod',
},
{
label: 'CloudFlare',
label: 'Cloudflare',
value: 'CloudFlare',
},
{
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/toolbox/supervisor/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 736914f

Please sign in to comment.