Commit fa179495 by 姜雷

写法规范

parent 27fefd5a
......@@ -215,10 +215,9 @@ export default {
},
computed: {
allDataOptions() {
let list = this.list.filter(
i => !this.trueValue.includes(i[this.mapProps.key])
);
list = list.filter(i =>
return this.list
.filter(i => !this.trueValue.includes(i[this.mapProps.key]))
.filter(i =>
this.filters.allValue
? i[this.mapProps.label].includes(this.filters.allValue)
: 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