Discover: fix filter's save done.

This commit is contained in:
chiayin
2023-05-03 13:25:18 +08:00
parent 51b56c0ccb
commit 162af24a2a
5 changed files with 32 additions and 24 deletions

View File

@@ -294,7 +294,7 @@ export default defineStore('allMapDataStore', {
try {
const response = await this.$axios.put(api, data);
this.isUpdataFilter = response.data.is_modified;
this.isUpdataFilter = response.status === 200;
}catch(error) {
this.httpStatus = error.request.status;
await delay();