Skip to content

Commit b5a75d7

Browse files
authored
fix(action-sheet): exception caused by repeated modification of component initialization data (#4013)
1 parent bfa1612 commit b5a75d7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/components/action-sheet/action-sheet.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@ export default class ActionSheet extends SuperComponent {
3737
];
3838

3939
observers = {
40-
'visible, items'(visible: boolean) {
41-
if (!visible) return;
40+
items() {
41+
this.splitGridThemeActions();
42+
},
43+
};
44+
45+
lifetimes = {
46+
ready() {
4247
this.init();
4348
},
4449
};

0 commit comments

Comments
 (0)