Ver Fonte

Merge branch 'master' of http://git.liuniu946.com/xuhaolan/xhlred

lhl há 3 anos atrás
pai
commit
60deedcb84
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 1 1
      pages/applic/science.vue
  2. 2 1
      pages/cart/group.vue

+ 1 - 1
pages/applic/science.vue

@@ -72,7 +72,7 @@
 				let obj = this;
 				getArticList({ifyid:1}).then(({ data }) => {
 					console.log(data,123456);
-					obj.science = obj.science.concat(data);
+					obj.science = obj.science.concat(data.list);
 					console.log(obj.science,'999999999999999999')
 				});
 			},

+ 2 - 1
pages/cart/group.vue

@@ -145,7 +145,8 @@ export default {
 		}
 	},
 	computed: {
-		...mapState('user', ['hasLogin', 'userInfo'])
+		...mapState('user', ['hasLogin', 'userInfo']),
+		...mapState(['weichatObj']),
 		// startDate() {
 		// 	return this.getDate('start');
 		// },