From ec7718405ee66c90b9f8730c389cc8cec0eb50f9 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 19 Jan 2026 13:50:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shells/index.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/shells/index.vue b/src/pages/shells/index.vue index d72ee21..e010bf9 100644 --- a/src/pages/shells/index.vue +++ b/src/pages/shells/index.vue @@ -37,7 +37,7 @@
-
+
{{ e }}
@@ -88,6 +88,7 @@ export default { // y: -10.001812, // 车辆y坐标 // task_seq: '点位1,点位2,work point 3,顶地方的方法顶顶顶点位3', // task_point: '点位2', + // task_seq_index: 2, // anomalyLevel: 1, // errorData: [ // { @@ -138,8 +139,7 @@ export default { // this.$store.dispatch('setAgvObj', this.topInfo) // if (this.topInfo.task_seq) { // this.taskSeq = this.topInfo.task_seq.split(',') - // const target = this.topInfo.task_point - // this.currentStep = this.taskSeq.findIndex(item => item === target) + // this.currentStep = this.topInfo.task_seq_index // } else { // this.taskSeq = [] // this.currentStep = null @@ -254,8 +254,7 @@ export default { this.topInfo = res.data if (this.topInfo.task_seq) { this.taskSeq = this.topInfo.task_seq.split(',') - const target = this.topInfo.task_point - this.currentStep = this.taskSeq.findIndex(item => item === target) + this.currentStep = this.topInfo.task_seq_index } else { this.taskSeq = [] this.currentStep = null