Преглед на файлове

选择组件优化

master
yxq преди 1 година
родител
ревизия
3be602dba0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      monitorMobile/components/selectSearch.vue

+ 1
- 1
monitorMobile/components/selectSearch.vue Целия файл

@@ -93,7 +93,7 @@
computed: {
title_() {
if (!this.multiple) {
let obj = this.options.find(e1 => e1.value == this.value)
let obj = this.options.find(e1 => e1.value == this.value_)
return obj ? obj.label : this.placeholder
} else {
let arr = this.options.filter(e1 => this.value_.includes(e1.value))


Зареждане…
Отказ
Запис