wangziqian 5 жил өмнө
parent
commit
4f2a4b3fe9

+ 3 - 0
src/components/select/searchPeople.vue

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