|
@@ -105,6 +105,9 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.searchIsLoading = true
|
|
this.searchIsLoading = true
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ results() {
|
|
|
|
+ this.cursor = 0
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -153,6 +156,9 @@ export default {
|
|
skip() {
|
|
skip() {
|
|
return !this.search || this.search.length < 2
|
|
return !this.search || this.search.length < 2
|
|
},
|
|
},
|
|
|
|
+ result() {
|
|
|
|
+ this.pagination = 1
|
|
|
|
+ },
|
|
update: (data) => _.get(data, 'pages.search', {}),
|
|
update: (data) => _.get(data, 'pages.search', {}),
|
|
watchLoading (isLoading) {
|
|
watchLoading (isLoading) {
|
|
this.searchIsLoading = isLoading
|
|
this.searchIsLoading = isLoading
|