Discover: SidebarFilter Timeframes slider control to line chart done.
This commit is contained in:
@@ -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