We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fd50b commit ebff19fCopy full SHA for ebff19f
packages/components/toast/toast.ts
@@ -61,6 +61,7 @@ export default class Toast extends SuperComponent {
61
placement: props.placement.value,
62
preventScrollThrough: props.preventScrollThrough.value,
63
theme: props.theme.value,
64
+ close: null, // 确保 close 回调被重置为当前传入的值或 null
65
};
66
67
const data = {
0 commit comments