白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -17,7 +17,7 @@ let Collapse = class Collapse extends SuperComponent {
};
this.externalClasses = [`${prefix}-class`];
this.relations = {
'./collapse-panel': {
'../collapse-panel/collapse-panel': {
type: 'descendant',
linked() {
this.updateExpanded();
@@ -42,10 +42,7 @@ let Collapse = class Collapse extends SuperComponent {
};
this.methods = {
updateExpanded() {
const panels = this.$children;
if (panels.length === 0)
return;
panels.forEach((child) => {
this.$children.forEach((child) => {
child.updateExpanded(this.properties.value);
});
},