|
@@ -67,6 +67,9 @@ export default {
|
|
watch: {
|
|
watch: {
|
|
value: {
|
|
value: {
|
|
handler(newV, oldV) {
|
|
handler(newV, oldV) {
|
|
|
|
+ if (this.searchValue === newV) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.searchValue = newV
|
|
this.searchValue = newV
|
|
const type = Object.prototype.toString.call(this.searchValue)
|
|
const type = Object.prototype.toString.call(this.searchValue)
|
|
if (type.indexOf('Array') < 0) {
|
|
if (type.indexOf('Array') < 0) {
|