vue-aliplayer-v2 icon indicating copy to clipboard operation
vue-aliplayer-v2 copied to clipboard

安装之后引用就直接报这个问题

Open yangjiandu2 opened this issue 4 years ago • 3 comments

image vue-aliplayer-v2.umd.min.js?5806:1 Uncaught (in promise) TypeError: Cannot read property '_c' of undefined at Proxy.i (vue-aliplayer-v2.umd.min.js?5806:1) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710) at componentEffect (runtime-core.esm-bundler.js?5c40:4193) at reactiveEffect (reactivity.esm-bundler.js?a1e9:42) at effect (reactivity.esm-bundler.js?a1e9:17) at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176) at mountComponent (runtime-core.esm-bundler.js?5c40:4134) at processComponent (runtime-core.esm-bundler.js?5c40:4094) at patch (runtime-core.esm-bundler.js?5c40:3715) at mountChildren (runtime-core.esm-bundler.js?5c40:3897)

yangjiandu2 avatar Dec 23 '20 07:12 yangjiandu2

你好,感谢反馈,这个可能是vue的版本过高导致,目前这个插件是基于2.x开发的,如果使用3.0版本的vue,可能会出现报错,在vue正式版本发布之后会做3.x的兼容支持。

langyuxiansheng avatar Dec 23 '20 07:12 langyuxiansheng

@langyuxiansheng vue3正式版本已经发布了,我还是得到这个报错

liho98 avatar Jul 10 '21 13:07 liho98

https://github.com/liho98/vue-aliplayer-v2 我用vite和源代码发布了一个只支持vue3的阿里云播放器,因作者是用webpack为主,我未能创建Pull Request。敬请见谅

npm i vue-aliplayer-v3 --save
or
yarn add vue-aliplayer-v3
import { AliPlayerV3 } from "vue-aliplayer-v3"; 
components:{ AliPlayerV3 }

liho98 avatar Jul 10 '21 16:07 liho98