refactor: header deletion branch return true When completed
This commit is contained in:
parent
cfe33ee154
commit
b308d07430
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ const useBranchStore = defineStore('api-branch', () => {
|
|||
});
|
||||
|
||||
if (!res) return false;
|
||||
if (res.status === 200) return res.data;
|
||||
if (res.status < 400) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue