Update index.js

This commit is contained in:
Harvey committed 2022-05-14 12:09:37 +08:00
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) {