This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
bjquanjiang
/
pinganxiaoyuan
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
选择组件优化
master
yxq
1 month ago
parent
80cbd14da0
commit
3be602dba0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
monitorMobile/components/selectSearch.vue
+ 1
- 1
monitorMobile/components/selectSearch.vue
View File
@@ -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))
Write
Preview
Loading…
Cancel
Save