Skip to content

[message] message显示后不关闭的情况,后退一页,再进入此页面,小程序卡死。 #3576

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

Open
bigpigOne opened this issue Apr 8, 2025 · 3 comments
Labels
question This is a question, not a bug

Comments

@bigpigOne
Copy link

tdesign-miniprogram 版本

1.8.8

重现链接

No response

重现步骤

Message.info({
context: this,
offset: ['180rpx', '32rpx'],
duration: 5000,
content: '这是一条带图标的消息通知 5s消失',
});
wx.navigateBack({
delta: 1,
});

期望结果

回到此页面后,一切正常

实际结果

页面卡死了。

基础库版本

3.7.12

补充说明

No response

Copy link
Contributor

github-actions bot commented Apr 8, 2025

👋 @bigpigOne,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@bigpigOne bigpigOne changed the title [message] message显示后关闭的情况,后退一页,再进入此页面,小程序卡死。 [message] message显示后不关闭的情况,后退一页,再进入此页面,小程序卡死。 Apr 8, 2025
@Boomkaa
Copy link
Collaborator

Boomkaa commented Apr 9, 2025

@bigpigOne 具体什么情况呢?方便提供录屏看看么?

@anlyyao anlyyao added this to TDesign Apr 11, 2025
@anlyyao
Copy link
Collaborator

anlyyao commented Apr 16, 2025

@bigpigOne 你好,我这边使用13pro,duration 取 -1, 后退一页,再重新进入此页面,页面正常。

未能复现你的问题。请提供可复现的代码片段链接、真机型号 等信息

@anlyyao anlyyao added the question This is a question, not a bug label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
Status: No status
Development

No branches or pull requests

3 participants