command_list分支简化
This commit is contained in:
parent
afe5070165
commit
b6f5abb338
2 changed files with 4 additions and 7 deletions
|
@ -14,7 +14,7 @@ watch(branch, () => {
|
|||
const steps = computed(() => [
|
||||
{
|
||||
title: '更新源码',
|
||||
command: [`fetch_${branch.value}`, `switch_${branch.value}`, `reset_${branch.value}`],
|
||||
command: ['fetch', 'switch', 'reset'],
|
||||
cwd: 'mower-ng'
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue