Skip to content

[t-message] 使用滚动消息通知,发现消息并未进行滚动 #3287

@hanweidong

Description

@hanweidong

tdesign-miniprogram 版本

1.7.1

重现链接

No response

重现步骤

点击抽屉的某个子项后触发消息通知:
/**

  • 滚动显示场站最近一次巡检记录
    */
    itemClick(e) {
    console.log(e.detail);
    this.setData({
    visible: true,
    });
    Message.warning({
    context: this,
    offset: [90, 32],
    duration: -1,
    marquee: { speed: 50, loop: -1, delay: 5000 },
    content: '当前场站最近一次巡检记录是2024-11-11日,请您从12日开始进行二维码巡检。',
    });
    },

期望结果

消息通知滚动播放

实际结果

无滚动

基础库版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    SkylineSkyline RenderquestionThis is a question, not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions