@ray-js/ray-ipc-player 2.0.14 → 2.0.15

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -109,15 +109,13 @@ var Player = function (props) {
109
109
  while (1) {
110
110
  switch (_context2.prev = _context2.next) {
111
111
  case 0:
112
- // console.log('hide');
113
112
  setPlayState(function (d) {
114
113
  d.loadingState = true;
115
- });
116
- _context2.next = 3;
117
- return getCurMute();
114
+ }); // 先停流
118
115
 
119
- case 3:
120
116
  stopPreview();
117
+ _context2.next = 4;
118
+ return getCurMute();
121
119
 
122
120
  case 4:
123
121
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",