Skip to content

🐛 [Bug]: Mention 组件的联想文字选中后应替换触发输入的联想文本,而非追加 #1303

@Muluk-m

Description

@Muluk-m

Version

1.0.1

Vue Version

3.2

Link to minimal reproduction

https://vue-devui.github.io/components/mention/

Step to reproduce

  1. 输入@v
  2. 点击hint中的“Vue”
    demo

What is expected

预期输入框中显示 @Vue

What is actually happening

实际输入框中显示 @vVue

Any additional comments (optional)

我认为这并非预期结果,我参考了antd的同功能组件,他们的实际效果更符合期望

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions