Commit fa179495 by 姜雷

写法规范

parent 27fefd5a
...@@ -215,10 +215,9 @@ export default { ...@@ -215,10 +215,9 @@ export default {
}, },
computed: { computed: {
allDataOptions() { allDataOptions() {
let list = this.list.filter( return this.list
i => !this.trueValue.includes(i[this.mapProps.key]) .filter(i => !this.trueValue.includes(i[this.mapProps.key]))
); .filter(i =>
list = list.filter(i =>
this.filters.allValue this.filters.allValue
? i[this.mapProps.label].includes(this.filters.allValue) ? i[this.mapProps.label].includes(this.filters.allValue)
: true : true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment