Browse Source

人员选择fix bug

wangziqian 5 years ago
parent
commit
4f2a4b3fe9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/components/select/searchPeople.vue

+ 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) {