jufubao-movie 1.0.39-beta17 → 1.0.39-beta18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-movie",
3
- "version": "1.0.39-beta17",
3
+ "version": "1.0.39-beta18",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -44,10 +44,9 @@
44
44
  <view class="seat_btn"></view>
45
45
  </view>
46
46
  <xd-online-seat
47
- v-if="filmId"
47
+ v-if="isReload && filmId"
48
48
  ref="xdOnlineSeat"
49
49
  :is-show-title="isShowTitle"
50
- :key="cinemaSeatKey"
51
50
  :is-old="false"
52
51
  :film-id="filmId"
53
52
  :cinema-id="cinemaId"
@@ -100,6 +99,8 @@
100
99
  time: 0,
101
100
  xItem: 10,
102
101
  yItem: 7,
102
+
103
+ isReload: true,//控制重新加载(onJfbShow)
103
104
  }
104
105
  },
105
106
  watch: {
@@ -445,9 +446,13 @@
445
446
  onJfbBack(options){
446
447
  this.$xdUniHelper.navigateBack();
447
448
  },
449
+
448
450
  onJfbShow(options) {
449
- this.onJfbLoad(options);
450
- this.cinemaSeatKey = Date.now()
451
+ this.isReload = false;
452
+ setTimeout(()=>{
453
+ this.isReload = true;
454
+ this.onJfbLoad(options);
455
+ },100)
451
456
  },
452
457
 
453
458
  onJfbUnload(){