fix: TypeError cannot read properties of undefined (reading 'queryselector') (#8671)

This commit is contained in:
Sivin Varghese
2024-01-11 20:42:24 +05:30
committed by GitHub
parent 22c2235d90
commit c60c523851
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
<template>
<mention-box :items="items" @mention-select="handleMentionClick">
<mention-box
v-if="items.length"
:items="items"
@mention-select="handleMentionClick"
>
<template slot-scope="{ item }">
<strong>{{ item.label }}</strong> - {{ item.description }}
</template>