From a775203bdcd5f9af3e3b4f7aacf6c05522d9a032 Mon Sep 17 00:00:00 2001 From: Ayaka Rizumu <464388324@qq.com> Date: Thu, 29 Dec 2022 00:29:07 +0800 Subject: [PATCH] feat: search in command panel (#576) --- components/command/CommandItem.vue | 58 ++++++++++++++ components/command/CommandPanel.vue | 120 +++++++++++++++++----------- composables/command.ts | 67 ++++++++++++---- 3 files changed, 181 insertions(+), 64 deletions(-) create mode 100644 components/command/CommandItem.vue diff --git a/components/command/CommandItem.vue b/components/command/CommandItem.vue new file mode 100644 index 00000000..d5c56bbd --- /dev/null +++ b/components/command/CommandItem.vue @@ -0,0 +1,58 @@ + + + + + + + + + {{ cmd.name }} + + + {{ cmd.description }} + + + + + + {{ $t('command.complete') }} + + + + + + {{ $t('command.activate') }} + + + + + diff --git a/components/command/CommandPanel.vue b/components/command/CommandPanel.vue index b024a3d7..3f2de717 100644 --- a/components/command/CommandPanel.vue +++ b/components/command/CommandPanel.vue @@ -1,5 +1,6 @@