update docs

This commit is contained in:
Harvey committed 2022-05-13 12:37:07 +08:00
1 parent a6d144d555
commit 737b667c1b
53 files changed
+77 -480

No files matched your search

-10
View File
@@ -122,11 +122,7 @@ export default class Setting extends Component {
return $item;
}
<<<<<<< HEAD
creatSelector(item) {
=======
creatItem(type, item) {
>>>>>>> setting-switch
const {
icons,
events: { proxy },
@@ -391,15 +387,9 @@ export default class Setting extends Component {
for (let index = 0; index < option.length; index++) {
const item = option[index];
if (has(item, 'switch')) {
<<<<<<< HEAD
append($panel, this.creatSwitch(item));
} else {
append($panel, this.creatSelector(item));
=======
append($panel, this.creatItem('switch', item));
} else {
append($panel, this.creatItem('selector', item));
>>>>>>> setting-switch
}
}