Lijy пре 1 година
родитељ
комит
9ac0e0dc15
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      fhKeeper/formulahousekeeper/timesheet/src/components/select.vue

+ 3 - 1
fhKeeper/formulahousekeeper/timesheet/src/components/select.vue

@@ -350,7 +350,9 @@ export default {
                 this.show = !this.show
                 this.move = !this.move
                 this.searchTex = ''
-                this.$set(this, 'options', this.optionsCopy)
+                if(this.optionsCopy.length > 0) {
+                    this.$set(this, 'options', JSON.parse(JSON.stringify(this.optionsCopy)))
+                }
             }
         },
         selectClihide() {