fix: 修复富文本评论@人有前缀无法触发评论人

This commit is contained in:
xinxin.wu 2024-10-29 18:44:32 +08:00 committed by Craftsman
parent 0c3e3b1020
commit 1c06c44ba8
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ async function getMembersToolBar(query: string) {
} }
export default { export default {
allowedPrefixes: null, // 允许触发建议的前缀字符,设置为 null 以允许任何前缀字符
startOfLine: false, // 在行的任何地方都可以激活
items: async ({ query }: any) => { items: async ({ query }: any) => {
await getMembersToolBar(query); await getMembersToolBar(query);
return projectMember.value.filter((item: ReviewUserItem) => return projectMember.value.filter((item: ReviewUserItem) =>