From c0be57a359db50fc4688b119d9b24dc2a38c9c70 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 7 Jul 2021 21:25:38 +0800 Subject: [PATCH] refactor: mentions --- components/mentions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mentions/index.tsx b/components/mentions/index.tsx index e74311ce9..8eeca75b9 100644 --- a/components/mentions/index.tsx +++ b/components/mentions/index.tsx @@ -207,7 +207,7 @@ export const MentionsOption = { /* istanbul ignore next */ Mentions.install = function (app: App) { app.component(Mentions.name, Mentions); - app.component('AMentionsOption', Option); + app.component(MentionsOption.name, MentionsOption); return app; };