diff --git a/src/stores/branch/index.ts b/src/stores/branch/index.ts index 21817527..e63f6a29 100644 --- a/src/stores/branch/index.ts +++ b/src/stores/branch/index.ts @@ -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; }