@@ -24,7 +24,11 @@ function handleLoginOut(){
}
function goBack(){
- router.back()
+ if(window.history.state.back){
+ router.back()
+ }else{
+ router.replace('/tabbar/home')
+ }