|
@@ -437,7 +437,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
contrast() {
|
|
|
- let dbdata = { id: this.region, fp: this.yearList.reverse(), type: "gdbh" }; //+ this.$props.pageType,
|
|
|
+ let dbdata = { id: this.region, fp: this.yearList.sort((a, b) => a.year - b.year), type: "gdbh" }; //+ this.$props.pageType,
|
|
|
console.log("contrast", dbdata);
|
|
|
this.$emit("contrast", dbdata);
|
|
|
},
|