断面判空
This commit is contained in:
@@ -251,6 +251,10 @@ export default {
|
|||||||
if(Array.isArray(this.filter) && this.filter.length){
|
if(Array.isArray(this.filter) && this.filter.length){
|
||||||
this.where.filter = [...this.filter]
|
this.where.filter = [...this.filter]
|
||||||
}
|
}
|
||||||
|
const sectionNames = this.where.drinkingWaterAnalyse.sectionNames
|
||||||
|
if(sectionNames && Array.isArray(sectionNames) && !sectionNames.length){
|
||||||
|
delete this.where.drinkingWaterAnalyse.sectionNames;
|
||||||
|
}
|
||||||
this.$emit("search", this.where);
|
this.$emit("search", this.where);
|
||||||
},
|
},
|
||||||
exportFile() {
|
exportFile() {
|
||||||
|
|||||||
Reference in New Issue
Block a user