@vunk/plus 1.4.4 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3416,6 +3416,7 @@ var howler = {};
3416
3416
  })();
3417
3417
  } (howler));
3418
3418
 
3419
+ Howler.autoUnlock = false;
3419
3420
  const originalPlay = howler.Howl.prototype.play;
3420
3421
  howler.Howl.prototype.play = function(soundId) {
3421
3422
  const WeixinJSBridge = window.WeixinJSBridge;
@@ -3533,10 +3534,12 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
3533
3534
  }
3534
3535
  useHowlerParagraph(props, emit);
3535
3536
  onMounted(() => {
3536
- emit("setData", {
3537
- k: "broadcast",
3538
- v: Broadcast.play
3539
- });
3537
+ if (theData.value.broadcast !== Broadcast.playing) {
3538
+ emit("setData", {
3539
+ k: "broadcast",
3540
+ v: Broadcast.play
3541
+ });
3542
+ }
3540
3543
  emit("load", {
3541
3544
  data: props.data,
3542
3545
  deferred: props.deferred
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/plus",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC",