|
|
@@ -55,6 +55,7 @@
|
|
|
v-model="loading"
|
|
|
:finished="finished"
|
|
|
finished-text="--已经到底了--"
|
|
|
+ :immediate-check="false"
|
|
|
@load="onLoad">
|
|
|
<div class="cellcontent srore" v-for="(item, index) in list" :key="index">
|
|
|
<van-cell>
|
|
|
@@ -411,34 +412,18 @@ export default {
|
|
|
this.getStreetQuery();
|
|
|
this.getMonth();
|
|
|
this.onSearch();
|
|
|
+ if (localStorage.getItem('postType') == 'JZ' || localStorage.getItem('postType') == 'GZ') {
|
|
|
+ this.mapShows = false;
|
|
|
+ } else {
|
|
|
+ this.mapShows = true;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
- // created() {
|
|
|
- // },
|
|
|
watch: {
|
|
|
$route(to, from) {
|
|
|
- if (to.path == '/storemanagement/index' && from.path == '/storeAdd') {
|
|
|
- // this.getStoreTypeList();
|
|
|
- // this.getstoreCoverPosition();
|
|
|
- // this.onSearch();
|
|
|
- }
|
|
|
- if (to.path == '/storemanagement/index' && from.path == '/storeEdit') {
|
|
|
- // this.getStoreTypeList();
|
|
|
- // this.getstoreCoverPosition();
|
|
|
- // this.onSearch();
|
|
|
- }
|
|
|
if (to.path == '/storemanagement/index' && from.path == '/My/index') {
|
|
|
this.tabVal = '1';
|
|
|
- // this.getStoreTypeList();
|
|
|
- // this.getstoreCoverPosition();
|
|
|
- // this.onSearch();
|
|
|
}
|
|
|
- if (localStorage.getItem('postType') == 'JZ' || localStorage.getItem('postType') == 'GZ') {
|
|
|
- this.mapShows = false;
|
|
|
- } else {
|
|
|
- this.mapShows = true;
|
|
|
- }
|
|
|
- this.getMonth();
|
|
|
},
|
|
|
},
|
|
|
methods: {
|