@@ -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;
@@ -311,7 +311,7 @@
onShow() {
this.getHandInfo();
- // this.reFresh()
+ this.reFresh();
this.showCateDrawer = false;
this.getTokenIsExist();
//分销绑定