mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -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;
|
return $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
creatItem(item) {
|
creatSelector(item) {
|
||||||
const {
|
const {
|
||||||
icons,
|
icons,
|
||||||
events: { proxy },
|
events: { proxy },
|
||||||
@@ -223,6 +223,10 @@ export default class Setting extends Component {
|
|||||||
return $item;
|
return $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
creatSwitch() {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
init(option, width) {
|
init(option, width) {
|
||||||
const { constructor } = this.art;
|
const { constructor } = this.art;
|
||||||
|
|
||||||
@@ -243,7 +247,7 @@ export default class Setting extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (let index = 0; index < option.length; index++) {
|
for (let index = 0; index < option.length; index++) {
|
||||||
append($panel, this.creatItem(option[index]));
|
append($panel, this.creatSelector(option[index]));
|
||||||
}
|
}
|
||||||
|
|
||||||
append(this.$parent, $panel);
|
append(this.$parent, $panel);
|
||||||
|
|||||||
Reference in new issue
Block a user