Skip to content

Commit 8c54207

Browse files
author
guohui.deng
committed
清除close中的callback参数
1 parent c9dc9e8 commit 8c54207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default class Toast extends Component {
5252
}
5353
).start(() => {
5454
this.isShow = true;
55-
if(duration !== DURATION.FOREVER) this.close(callback);
55+
if(duration !== DURATION.FOREVER) this.close();
5656
});
5757
}
5858

0 commit comments

Comments
 (0)