|
|
@@ -861,7 +861,13 @@ export default {
|
|
|
},
|
|
|
onClickLeft() {
|
|
|
localStorage.setItem('tabVal', '1');
|
|
|
- this.$router.push('/My/index');
|
|
|
+ let storeStatus = localStorage.getItem('storeStatus');
|
|
|
+ if (storeStatus) {
|
|
|
+ localStorage.removeItem('storeStatus');
|
|
|
+ this.$router.go(-1);
|
|
|
+ } else {
|
|
|
+ this.$router.push('/My/index');
|
|
|
+ }
|
|
|
},
|
|
|
onSearch() {
|
|
|
window.scrollTo(0, 0);
|