|
|
@@ -336,11 +336,12 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ // 当前tabs,0:销售部;1:我的
|
|
|
+ this.tabVal = localStorage.getItem('tabVal') == '0' ? '0' : '1';
|
|
|
if (this.deviceOutsidePage) this.initData();
|
|
|
store.dispatch('setDeviceOutsidePage', false);
|
|
|
},
|
|
|
mounted() {
|
|
|
- localStorage.setItem('tabVal', '1');
|
|
|
// 上拉边界下拉出现白色空白
|
|
|
let node = document.getElementsByClassName('home')[0];
|
|
|
node.addEventListener(
|
|
|
@@ -377,8 +378,6 @@ export default {
|
|
|
} else {
|
|
|
this.result = [];
|
|
|
}
|
|
|
- // 当前tabs,0:销售部;1:我的
|
|
|
- this.tabVal = localStorage.getItem('tabVal') == '0' ? '0' : '1';
|
|
|
this.query = this.$route.query; // 路由参数
|
|
|
localStorage.removeItem('visitId');
|
|
|
if (localStorage.getItem('postType') == 'GZ') {
|