mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
Update index.js
This commit is contained in:
1 parent
c1f34caa2e
commit
1ba6898705
1 file changed
+1
-1
@@ -10,7 +10,7 @@ function checkVersion(art) {
|
||||
const arr = version.split('.').map(Number);
|
||||
const major = arr[0];
|
||||
const minor = arr[1] / 100;
|
||||
errorHandle(major + minor >= 4.04, '弹幕库版本不兼容');
|
||||
errorHandle(major + minor >= 4.04, `弹幕库:Artplayer.js@${version} 版本不兼容,请更新到 4.4.x 版本以上`);
|
||||
}
|
||||
|
||||
export default function artplayerPluginDanmuku(option) {
|
||||
|
||||
Reference in new issue
Block a user