Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.3.0 Toast组件的show方法onDidHide属性无效 #315

Open
1 of 2 tasks
wisetc opened this issue Dec 5, 2018 · 2 comments
Open
1 of 2 tasks

v4.3.0 Toast组件的show方法onDidHide属性无效 #315

wisetc opened this issue Dec 5, 2018 · 2 comments
Labels

Comments

@wisetc
Copy link
Contributor

wisetc commented Dec 5, 2018

这是一个

  • 错误报告
  • 功能需求

SaltUI 版本

saltui@4.3.0

浏览器、操作系统等环境信息

Chrome, Mac OS

复现步骤

https://codepen.io/anon/pen/ZmNxVv?editors=0010

代码片段

Toast.show({
            content: `you rendered ${this.times} times.`,
            onDidHide: () => {
                alert('how about go dinner with me?');
                this.times++;
            }
        });
@eternalsky eternalsky added the bug label Dec 6, 2018
@feitiana03120
Copy link

遇到同样的问题,saltui升级后就有问题了,只是一直没人解决啊

@wisetc
Copy link
Contributor Author

wisetc commented Apr 9, 2019

遇到同样的问题,saltui升级后就有问题了,只是一直没人解决啊

封装方法中,setTimeout duration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants