achao преди 2 години
родител
ревизия
cd0299c291
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      xiaochengxu/pages/cardHolder/scanCodeAddCard.vue

+ 5 - 3
xiaochengxu/pages/cardHolder/scanCodeAddCard.vue

@@ -337,7 +337,8 @@
 			if (uni.getStorageSync("userInfo").phone) {
 				this.userInfo = uni.getStorageSync("userInfo")
 				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()
 				
 			} else {
@@ -370,15 +371,16 @@
 				if(this.userInfo.openId) {
 					uni.setStorageSync("userInfo", that.userInfo)
 					that.showAuthorizeUser = false
-					that.mescroll.resetUpScroll()
+					// that.mescroll.resetUpScroll()
+					this.getList()
 				}
 			},
 			async getPhoneNumber(e) {
 				that.userInfo = await this.$request.wxlogin()
 				that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
+				
 				this.showAuthorizePhone = false
 				this.showAuthorizeUser = true
-				this.getList()
 			
 			},
 			save() {