|
@@ -450,6 +450,11 @@ export default {
|
|
if (this.plantIds.length == 0) {
|
|
if (this.plantIds.length == 0) {
|
|
this.plantIds = ['']
|
|
this.plantIds = ['']
|
|
}
|
|
}
|
|
|
|
+ val.forEach((item,index)=>{
|
|
|
|
+ if(item===''){
|
|
|
|
+ val.splice(index,1)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
if (val.length === this.plantList.length) {
|
|
if (val.length === this.plantList.length) {
|
|
this.checked = true
|
|
this.checked = true
|
|
} else {
|
|
} else {
|