code style
This commit is contained in:
@@ -70,7 +70,9 @@ export default {
|
|||||||
{ id: 4, name: 'Justin Schueler' },
|
{ id: 4, name: 'Justin Schueler' },
|
||||||
],
|
],
|
||||||
// is called when a suggestion starts
|
// is called when a suggestion starts
|
||||||
onEnter: ({ items, query, range, command, virtualNode }) => {
|
onEnter: ({
|
||||||
|
items, query, range, command, virtualNode,
|
||||||
|
}) => {
|
||||||
this.query = query
|
this.query = query
|
||||||
this.filteredUsers = items
|
this.filteredUsers = items
|
||||||
this.suggestionRange = range
|
this.suggestionRange = range
|
||||||
@@ -81,7 +83,9 @@ export default {
|
|||||||
this.insertMention = command
|
this.insertMention = command
|
||||||
},
|
},
|
||||||
// is called when a suggestion has changed
|
// is called when a suggestion has changed
|
||||||
onChange: ({ items, query, range, virtualNode }) => {
|
onChange: ({
|
||||||
|
items, query, range, virtualNode,
|
||||||
|
}) => {
|
||||||
this.query = query
|
this.query = query
|
||||||
this.filteredUsers = items
|
this.filteredUsers = items
|
||||||
this.suggestionRange = range
|
this.suggestionRange = range
|
||||||
|
|||||||
Reference in New Issue
Block a user