From e9f4a368fd3845a38eb54d3d18d77e96e5767b61 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 05 九月 2023 10:47:22 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/home/map_edit.html |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/views/home/map_edit.html b/src/main/webapp/views/home/map_edit.html
index d5497b3..c0176c7 100644
--- a/src/main/webapp/views/home/map_edit.html
+++ b/src/main/webapp/views/home/map_edit.html
@@ -81,6 +81,10 @@
                 鍏呯數妗╋細
                 <div class="pointBox chargeStation"></div>
             </div>
+            <div>
+                闅愯棌鏄剧ず锛�
+                <div class="pointBox pointBoxStart"></div>
+            </div>
         </div>
         <div>
             <div>璧风偣锛�<input type="text" v-model="startPosition"></div>
@@ -130,6 +134,7 @@
                 <div @click="map[mapI][mapJ].value = 3" class="pointBox pointBoxGreen"></div>
                 <div @click="map[mapI][mapJ].value = 4" class="pointBox pointBoxStation"></div>
                 <div @click="map[mapI][mapJ].value = 5" class="pointBox chargeStation"></div>
+                <div @click="map[mapI][mapJ].value = 10" class="pointBox pointBoxStart"></div>
             </div>
         </div>
         <div>
@@ -180,7 +185,6 @@
                 //瀹為檯鍖哄煙澧炲姞涓よ涓ゅ垪绂佸尯
                 let rowR = Number(this.row) + Number(2)
                 let colR = Number(this.col) + Number(2)
-                console.log(rowR, colR)
                 for (var i = 0; i < rowR; i++) {
                     let x = []
                     for (var j = 0; j < colR; j++) {
@@ -249,7 +253,6 @@
             },
             switchBox(x, y) {
                 let tmp = this.map
-                console.log(x, y, tmp[x][y])
                 switch (tmp[x][y].value) {
                     case -1:
                         tmp[x][y].value = 0
@@ -330,7 +333,6 @@
                 }).then((res) => {
                     let data = res.data
                     let tmp = that.map
-                    console.log(data)
                     data.forEach((item, index) => {
                         let x = item.x
                         let y = item.y
@@ -348,7 +350,6 @@
                     this.$forceUpdate()
                     this.printData()
                 }).catch((error) => {
-                    console.log(error)
                 })
             },
             rightEvent(x, y, e) {

--
Gitblit v1.9.1