|
@@ -112,16 +112,20 @@
|
|
onShow() {
|
|
onShow() {
|
|
let _city = uni.getStorageSync("depotAcquisition_selectCity")
|
|
let _city = uni.getStorageSync("depotAcquisition_selectCity")
|
|
this.currentCityName = _city ? _city.positionName.cityName : ''
|
|
this.currentCityName = _city ? _city.positionName.cityName : ''
|
|
- this.$api.doRequest('get', '/commonUser/api/checkSession').then(res => {
|
|
|
|
- console.log("checkSession", res)
|
|
|
|
- if (res.data.data == "INVALID") {
|
|
|
|
- this.isShowAlert = true;
|
|
|
|
- }
|
|
|
|
- this.currentPage = 1
|
|
|
|
- this.isLoadMore = false
|
|
|
|
- this.loadStatus = 'more'
|
|
|
|
- this.getListData()
|
|
|
|
- })
|
|
|
|
|
|
+ // this.$api.doRequest('get', '/commonUser/api/checkSession').then(res => {
|
|
|
|
+ // console.log("checkSession", res)
|
|
|
|
+ // if (res.data.data == "INVALID") {
|
|
|
|
+ // this.isShowAlert = true;
|
|
|
|
+ // }
|
|
|
|
+ // this.currentPage = 1
|
|
|
|
+ // this.isLoadMore = false
|
|
|
|
+ // this.loadStatus = 'more'
|
|
|
|
+ // this.getListData()
|
|
|
|
+ // })
|
|
|
|
+ this.currentPage = 1
|
|
|
|
+ this.isLoadMore = false
|
|
|
|
+ this.loadStatus = 'more'
|
|
|
|
+ this.getListData()
|
|
console.log("hasLogin", this.hasLogin)
|
|
console.log("hasLogin", this.hasLogin)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|