mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
Update index.js
This commit is contained in:
1 parent
a1167f64e1
commit
1a7cc79bb6
1 file changed
+6
-2
@@ -122,7 +122,7 @@ export default class Setting extends Component {
|
||||
return $item;
|
||||
}
|
||||
|
||||
creatItem(item) {
|
||||
creatSelector(item) {
|
||||
const {
|
||||
icons,
|
||||
events: { proxy },
|
||||
@@ -223,6 +223,10 @@ export default class Setting extends Component {
|
||||
return $item;
|
||||
}
|
||||
|
||||
creatSwitch() {
|
||||
//
|
||||
}
|
||||
|
||||
init(option, width) {
|
||||
const { constructor } = this.art;
|
||||
|
||||
@@ -243,7 +247,7 @@ export default class Setting extends Component {
|
||||
}
|
||||
|
||||
for (let index = 0; index < option.length; index++) {
|
||||
append($panel, this.creatItem(option[index]));
|
||||
append($panel, this.creatSelector(option[index]));
|
||||
}
|
||||
|
||||
append(this.$parent, $panel);
|
||||
|
||||
Reference in new issue
Block a user