fix: improve work name management and validation logic
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
cd86e7718a
commit
de281ea79f
4 changed files with 28 additions and 22 deletions
|
|
@ -441,7 +441,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
|
|||
...payload,
|
||||
});
|
||||
|
||||
if (res && res.status < 200) {
|
||||
if (res && res.status < 400) {
|
||||
await fetchListOfWork();
|
||||
return res.data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue