command_list分支简化

This commit is contained in:
zhbaor 2024-10-04 09:11:36 +08:00
parent afe5070165
commit b6f5abb338
2 changed files with 4 additions and 7 deletions

View file

@ -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'
},
{