|
@@ -191,23 +191,13 @@ export default {
|
|
|
this.getData()
|
|
|
if (this.dataValue.length > 0) {
|
|
|
this.checkData = this.dataValue
|
|
|
- this.checkMatched = this.dataValue.filter(item => {
|
|
|
- if (item.value < 10090) {
|
|
|
- return item.value
|
|
|
- }
|
|
|
- })
|
|
|
- this.checkMatched = this.checkMatched.map(item => {
|
|
|
+ this.checkMatched = this.dataValue.map(item => {
|
|
|
return item.value
|
|
|
})
|
|
|
- this.checkMatchedCity = this.dataValue.filter(item => {
|
|
|
- if (item.value > 10090) {
|
|
|
- return item.value
|
|
|
- }
|
|
|
- })
|
|
|
- this.checkMatchedCity = this.checkMatchedCity.map(item => {
|
|
|
+ this.checkMatchedCity = this.dataValue.map(item => {
|
|
|
return item.value
|
|
|
})
|
|
|
- console.log(this.checkMatchedCity)
|
|
|
+
|
|
|
this.$emit('update:checkData', this.checkData)
|
|
|
}
|
|
|
})
|