浏览代码

隐藏分享框

Limengbo 6 年之前
父节点
当前提交
ae13089cae
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compontents/share/share.js

+ 3 - 0
compontents/share/share.js

@@ -122,6 +122,9 @@ Component({
                         success: function(res) {
                             if (res.confirm) {
                                 console.log('用户点击确定');
+                                this.setData({
+                                  flag: !this.data.flag
+                                })
                             }
                             //that.hideShareImg()
                         }