diff --git a/src/core/view/components/swiper/index.vue b/src/core/view/components/swiper/index.vue index 56b703d60b44eb5822c03c4ba8eab9119e39bccf..842e95d11f6458d51127c70bd30232b506ec4158 100644 --- a/src/core/view/components/swiper/index.vue +++ b/src/core/view/components/swiper/index.vue @@ -490,7 +490,6 @@ export default { } }, _handleTrackStart () { - if (!this.items.length) return this._cancelSchedule() this._contentTrackViewport = this._viewportPosition this._contentTrackSpeed = 0 @@ -498,7 +497,6 @@ export default { this._cancelViewportAnimation() }, _handleTrackMove (data) { - if (!this.items.length) return var self = this var contentTrackT = this._contentTrackT this._contentTrackT = Date.now() @@ -533,7 +531,6 @@ export default { } }, _handleTrackEnd (isCancel) { - if (!this.items.length) return this.userTracking = false var t = this._contentTrackSpeed / Math.abs(this._contentTrackSpeed) var n = 0 diff --git a/src/platforms/app-plus/view/components/live-pusher/index.vue b/src/platforms/app-plus/view/components/live-pusher/index.vue index b0bdabb22e1985d6ba93234d04a7d1ded0670afb..343db76c277bd0c777469c9a8d70c4c1febddeba 100644 --- a/src/platforms/app-plus/view/components/live-pusher/index.vue +++ b/src/platforms/app-plus/view/components/live-pusher/index.vue @@ -37,6 +37,10 @@ export default { name: 'LivePusher', mixins: [subscriber, native], props: { + id: { + type: String, + default: '' + }, url: { type: String, default: ''