From 0dc248be8413947dedb168367efa2f3f41e39a91 Mon Sep 17 00:00:00 2001 From: Ilia Miheev Date: Sat, 21 Mar 2026 12:39:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8E=20cancel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Теперь функция меняет задний фон если при отмене будет удалён этот пункт --- src/App.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.vue b/src/App.vue index 333ad51..c77839a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -105,6 +105,9 @@ function cancel() { if (clickCount.value === 1) { return; } + if (listOfTrips.value.at(-1).variable.length === 1) { + listOfTrips.value.at(-1).BgImg = 'images/ArUco-marker.jpg' + } listOfTrips.value.at(-1).variable.pop(); listOfTrips.value.pop(); clickCount.value--;