|
@@ -337,7 +337,8 @@
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
|
|
this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
|
|
- this.commonId = options.id.indexOf(",") ? options.id.split(",")[1] : ''
|
|
|
|
|
|
+ // this.commonId = options.id.indexOf(",") ? options.id.split(",")[1] : ''
|
|
|
|
+
|
|
this.getList()
|
|
this.getList()
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -370,15 +371,16 @@
|
|
if(this.userInfo.openId) {
|
|
if(this.userInfo.openId) {
|
|
uni.setStorageSync("userInfo", that.userInfo)
|
|
uni.setStorageSync("userInfo", that.userInfo)
|
|
that.showAuthorizeUser = false
|
|
that.showAuthorizeUser = false
|
|
- that.mescroll.resetUpScroll()
|
|
|
|
|
|
+ // that.mescroll.resetUpScroll()
|
|
|
|
+ this.getList()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async getPhoneNumber(e) {
|
|
async getPhoneNumber(e) {
|
|
that.userInfo = await this.$request.wxlogin()
|
|
that.userInfo = await this.$request.wxlogin()
|
|
that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
|
|
that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
|
|
|
|
+
|
|
this.showAuthorizePhone = false
|
|
this.showAuthorizePhone = false
|
|
this.showAuthorizeUser = true
|
|
this.showAuthorizeUser = true
|
|
- this.getList()
|
|
|
|
|
|
|
|
},
|
|
},
|
|
save() {
|
|
save() {
|