Discover: SidebarFilter Timeframes slider control to line chart done.

This commit is contained in:
chiayin
2023-05-23 19:07:11 +08:00
parent f1f2f56d8c
commit 6ca0601db7
5 changed files with 81 additions and 55 deletions

View File

@@ -75,6 +75,7 @@ export default defineStore('filesStore', {
})
if(this.httpStatus < 300) loading.isLoading = false;
} catch(error) {
console.dir(error); // safari 測試
this.httpStatus = error.request.status;
delay().then(() =>{
loading.isLoading = true;
@@ -107,6 +108,7 @@ export default defineStore('filesStore', {
});
if(this.httpStatus < 300) loading.isLoading = false;
} catch(error) {
console.dir(error); // safari 測試
this.httpStatus = error.request.status;
delay().then(() =>{
loading.isLoading = true;

View File

@@ -41,6 +41,7 @@ export default defineStore('loginStore', {
this.$router.push('/files');
}
} catch(error) {
console.dir(error); // safari 測試
this.isInvalid = true;
};
},
@@ -68,6 +69,7 @@ export default defineStore('loginStore', {
this.userData = response.data;
} catch(error) {
console.dir(error); // safari 測試
};
},
/**
@@ -80,6 +82,7 @@ export default defineStore('loginStore', {
const response = await axios.get(api);
if(response.status !== 200) this.$router.push('/login');
} catch(error) {
console.dir(error); // safari 測試
this.$router.push('/login');
};
},