yuwenjun 4 gadi atpakaļ
vecāks
revīzija
2f3f34c649

+ 4 - 0
components/cm-module/listTemplate/productList.vue

@@ -184,6 +184,10 @@ export default {
 		...mapState(['hasLogin', 'userInfo', 'identity'])
 	},
 	methods: {
+		// 获取购物车商品数量
+		getCartQuantity(){
+			this.cartQuantity = 100
+		},
 		// 模糊框单击事件
 		fuzzyClickHandle(e) {
 			console.log(e)

+ 2 - 1
pages/index/index.vue

@@ -151,7 +151,7 @@ export default {
 				.then(response => {
 					this.login(response.data)
 					this.$store.commit('updateStatus', response.data)
-					this.GetUserInfoPersonal(response.data.organizeId)
+					this.getUserInfoPersonal(response.data.organizeId)
 				})
 				.catch(error => {
 					uni.setStorage({
@@ -159,6 +159,7 @@ export default {
 						key: 'openid',
 						data: error.data.openid
 					})
+					
 				})
 		},
 		getUserInfoPersonal(organizeId) {