vue-final / vue-final-modal

🍕Vue Final Modal is a tiny, renderless, mobile-friendly, feature-rich modal component for Vue.js.
https://vue-final-modal.org
MIT License
914 stars 99 forks source link

Warning in console #21

Closed WoodyDark closed 3 years ago

WoodyDark commented 3 years ago

I get the following warning in my console. I tried googling but I'm not really sure what to look for or what is it warning me. The modal seems to work fine, I can't tell what's wrong.

module.js:849 Error: 找不到当前滑动元素,停止滑动
    at VueComponent.get (module.js:831)
    at Watcher.get (vue.esm.js:4480)
    at Watcher.evaluate (vue.esm.js:4595)
    at VueComponent.computedGetter [as currentWidth] (vue.esm.js:4847)
    at VueComponent.slide (module.js:1002)
    at VueComponent.<anonymous> (module.js:1097)
    at Array.<anonymous> (vue.esm.js:2033)
    at flushCallbacks (vue.esm.js:1955)
get @ module.js:849
get @ vue.esm.js:4480
evaluate @ vue.esm.js:4595
computedGetter @ vue.esm.js:4847
slide @ module.js:1002
(anonymous) @ module.js:1097
(anonymous) @ vue.esm.js:2033
flushCallbacks @ vue.esm.js:1955
Promise.then (async)
timerFunc @ vue.esm.js:1983
nextTick @ vue.esm.js:2044
Vue.$nextTick @ vue.esm.js:3514
(anonymous) @ module.js:1096
setTimeout (async)
renderDom @ module.js:1068
renderDom @ module.js:1282
mounted @ module.js:1264
invokeWithErrorHandling @ vue.esm.js:1896
callHook @ vue.esm.js:4220
insert @ vue.esm.js:3145
invokeInsertHook @ vue.esm.js:6374
patch @ vue.esm.js:6599
Vue._update @ vue.esm.js:3937
updateComponent @ vue.esm.js:4066
get @ vue.esm.js:4480
Watcher @ vue.esm.js:4467
mountComponent @ vue.esm.js:4073
./node_modules/vue/dist/vue.esm.js.Vue.$mount @ vue.esm.js:9028
./node_modules/vue/dist/vue.esm.js.Vue.$mount @ vue.esm.js:11853
Vue._init @ vue.esm.js:5029
Vue @ vue.esm.js:5104
(anonymous) @ global.js:38

module.js:849 滑动报错,停止滑动及轮播
hunterliu1003 commented 3 years ago

Hi @WoodyDark,

I don't see any error cause by vue-final-modal You should provide more information like which version you are using and how you use vue-final-modal. If you provide a reproduction that will be great.

WoodyDark commented 3 years ago

I dug deeper, it's an issue caused by an external library, nothing to do with Vue Final Modal. I'm sorry for posting a wrong issue!