miniprogram-ar-push
Advanced tools
@@ -123,2 +123,10 @@ module.exports = | ||
| }, | ||
| debug: { | ||
| type: Boolean, | ||
| value: false | ||
| }, | ||
| beauty: { | ||
| type: Number, | ||
| value: 0 | ||
| }, | ||
| enableAudio: { | ||
@@ -224,3 +232,3 @@ type: Boolean, | ||
| }); | ||
| that.postEvent('MemberLeave', 0, leaveList); | ||
| if (leaveList.length > 0) that.postEvent('MemberLeave', 0, leaveList); | ||
@@ -245,3 +253,3 @@ newUserList.map(function (item, index) { | ||
| that.postEvent('MemberJoin', 0, joinList); | ||
| if (joinList.length > 0) that.postEvent('MemberJoin', 0, joinList); | ||
@@ -248,0 +256,0 @@ that.setData({ |
@@ -123,2 +123,10 @@ module.exports = | ||
| }, | ||
| debug: { | ||
| type: Boolean, | ||
| value: false | ||
| }, | ||
| beauty: { | ||
| type: Number, | ||
| value: 0 | ||
| }, | ||
| enableAudio: { | ||
@@ -224,3 +232,3 @@ type: Boolean, | ||
| }); | ||
| that.postEvent('MemberLeave', 0, leaveList); | ||
| if (leaveList.length > 0) that.postEvent('MemberLeave', 0, leaveList); | ||
@@ -245,3 +253,3 @@ newUserList.map(function (item, index) { | ||
| that.postEvent('MemberJoin', 0, joinList); | ||
| if (joinList.length > 0) that.postEvent('MemberJoin', 0, joinList); | ||
@@ -248,0 +256,0 @@ that.setData({ |
+1
-1
| { | ||
| "name": "miniprogram-ar-push", | ||
| "version": "1.0.7", | ||
| "version": "1.0.8", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "miniprogram_dist/index.js", |
+10
-2
@@ -29,2 +29,10 @@ // components/pusher.js | ||
| }, | ||
| debug: { | ||
| type: Boolean, | ||
| value: false | ||
| }, | ||
| beauty: { | ||
| type: Number, | ||
| value: 0 | ||
| }, | ||
| enableAudio: { | ||
@@ -130,3 +138,3 @@ type: Boolean, | ||
| }); | ||
| that.postEvent('MemberLeave', 0, leaveList); | ||
| if (leaveList.length > 0) that.postEvent('MemberLeave', 0, leaveList); | ||
@@ -151,3 +159,3 @@ newUserList.map((item, index) => { | ||
| that.postEvent('MemberJoin', 0, joinList); | ||
| if (joinList.length > 0) that.postEvent('MemberJoin', 0, joinList); | ||
@@ -154,0 +162,0 @@ that.setData({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
42653
1.54%873
2.83%