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

[message] Setting data field "loop" to undefined is invalid. #1855

Closed
speauty opened this issue Mar 29, 2023 · 5 comments · Fixed by #1856
Closed

[message] Setting data field "loop" to undefined is invalid. #1855

speauty opened this issue Mar 29, 2023 · 5 comments · Fixed by #1856
Assignees
Labels
bug Something isn't working

Comments

@speauty
Copy link

speauty commented Mar 29, 2023

tdesign-miniprogram 版本

^1.0.3

重现链接

No response

重现步骤

Message.success({
    context: e, offset: msgOffset, duration: msgDuration, content: content,marquee:false
})

期望结果

无警告。

实际结果

WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2 Setting data field "loop" to undefined is invalid.
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
beforeMergeValues @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
c.doUpdates @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
v.setData @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
show @ message.js? [sm]:131
desc.<computed> @ flatTool.js? [sm]:46
r.safeCallback @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
triggerSetDataCallbacks @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
g @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WASubContext.js?t=wechat&s=1680054630181&v=2.19.4:2
(anonymous) @ WAServiceMainContext.js:2
a @ VM9 asdebug.js:1
c @ VM9 asdebug.js:1
(anonymous) @ VM9 asdebug.js:1
g @ VM9 asdebug.js:1
f @ VM9 asdebug.js:1
(anonymous) @ VM9 asdebug.js:1
_ws.onmessage @ VM9 asdebug.js:1

框架版本

No response

基础库版本

No response

补充说明

image

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

♥️ 有劳 @anlyyao @dlhandsome 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @speauty

@speauty
Copy link
Author

speauty commented Mar 29, 2023

传入marquee: {loop: 0}即可避免

@LeeJim LeeJim added the bug Something isn't working label Mar 29, 2023
@anlyyao
Copy link
Collaborator

anlyyao commented Mar 29, 2023

@speauty 感谢反馈 我来处理一下~

@speauty
Copy link
Author

speauty commented Mar 29, 2023

@speauty 感谢反馈 我来处理一下~

谢谢咯,有点强迫症,看到控制台,有点异常,就。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants