diff --git a/src/components/analEvaluation.component.vue b/src/components/analEvaluation.component.vue index 8c3dc1e..eec49b9 100644 --- a/src/components/analEvaluation.component.vue +++ b/src/components/analEvaluation.component.vue @@ -897,9 +897,12 @@ export default class AnalEvaluationComponent extends Vue { } } } - if(this.analysisUpdateParams.riskLevel === 4){ + if (this.analysisUpdateParams.riskLevel === 4) { this.analysisUpdateParams.riskControlLevel = 1 } + if (!this.analysisUpdateParams.riskLevel) { + this.analysisUpdateParams.riskControlLevel = null + } this.riskUpdateForm() this.remainUpdateForm() } diff --git a/src/components/draw.component.vue b/src/components/draw.component.vue index f0437f8..f6205fc 100644 --- a/src/components/draw.component.vue +++ b/src/components/draw.component.vue @@ -268,7 +268,7 @@ export default class DrawComponent extends Vue { }else{ this.positions.splice(this.positions.findIndex((item:any)=>item.id===e.features[0].id),1) } - console.log(this.positions) + // console.log(this.positions) } public drawScreenFull(){ @@ -449,10 +449,10 @@ export default class DrawComponent extends Vue { this.map.remove(); this.map = null; } - destroyed(){ - // console.log(123) - this.removeMap() - } + // destroyed(){ + // // console.log(123) + // this.removeMap() + // } }