fix: 修复富文本评论@人有前缀无法触发评论人
This commit is contained in:
parent
0c3e3b1020
commit
1c06c44ba8
|
@ -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) =>
|
||||||
|
|
Loading…
Reference in New Issue