update demo

This commit is contained in:
Harvey committed 2022-02-11 12:36:17 +08:00
1 parent fe88ab30d3
commit 81e107d7ef
5 files changed
+77 -69

No files matched your search

+3 -1
View File
@@ -106,8 +106,10 @@ export default class Setting extends Component {
append($left, item.html);
} else {
if (hasChildren) {
const $icon = append($left, item.icon || icons.config);
const $icon = document.createElement('div');
addClass($icon, 'art-setting-item-left-icon');
append($icon, item.icon || icons.config);
append($left, $icon);
append($right, icons.arrowRight);
} else {
append($left, icons.check);