ZZ 2 өдөр өмнө
parent
commit
909675007c

+ 15 - 1
mer_uniapp/components/discoverDetails/index.vue

@@ -609,7 +609,21 @@ export default {
 			}
 		},
 		onJoin() {
-			this.$refs.joinDialog.open();
+			let that = this;
+			// this.$refs.joinDialog.open();
+			myGameJoinIdApi(that.noteDetails.id)
+			.then((res) => {
+				that.$util.Tips({
+					title: "加入成功",
+				});
+				that.noteDetails.userIsJoin = !that.noteDetails.userIsJoin;
+			})
+			.catch((err) => {
+				uni.showToast({
+					title: err,
+					icon: "none",
+				});
+			});
 		},
 		onJoinColse() {
 			let that = this;

+ 1 - 1
mer_uniapp/pages/game_dazi/index.vue

@@ -311,7 +311,7 @@
 		},
 		onShow() {
 			this.getHandInfo();
-			// this.reFresh()
+			this.reFresh();
 			this.showCateDrawer = false;
 			this.getTokenIsExist();
 			//分销绑定