Discover: SidebarFilter Timeframes slider control to line chart done.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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');
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user