优化字幕结构

This commit is contained in:
Harvey committed 2019-11-15 10:17:11 +08:00
1 parent 3965132252
commit 9f2038539e
12 files changed
+137 -257

No files matched your search

+1 -4
View File
@@ -2,11 +2,8 @@ export default class Storage {
constructor(art) {
this.art = art;
this.name = 'artplayer_settings';
this.init();
}
const { option } = art;
init() {
const { option } = this.art;
const volume = this.get('volume');
if (volume) {
option.volume = volume;