|
@@ -1009,7 +1009,7 @@ export default {
|
|
|
},
|
|
|
submitAutoCase() {
|
|
|
if (this.autoTaskStatus == 'waiting' || this.autoTaskStatus == 'running') {
|
|
|
- let plan = JSON.stringify(localStorage.getItem('autoCurrentTaskData'))
|
|
|
+ let plan = JSON.parse(localStorage.getItem('autoCurrentTaskData'))
|
|
|
let planId = plan.id || 0;
|
|
|
this.$store.dispatch('caseList/cancelPlan', planId);
|
|
|
clearInterval(this.autoPlanResultInterval)
|