Jelajahi Sumber

Merge branch 'master' of http://192.168.1.218:3000/liyingqu/cyzh-SoundOfMusic-H5

lyqu 4 tahun lalu
induk
melakukan
6530fe789d
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      pages/activityList/home/home.vue

+ 5 - 1
pages/activityList/home/home.vue

@@ -95,7 +95,11 @@
 				}
 			},
 			addVisit(id) {
-				this.$u.api.activity.visit({id: id}).then(res => {
+				let params={
+					id,
+					userId:uni.getStorageSync("userId")
+				}
+				this.$u.api.activity.visit(params).then(res => {
 					console.log(res);
 				})
 			},