ФИкс бага
This commit is contained in:
+4
-4
@@ -140,13 +140,13 @@ function handleDownloadBtn() {
|
||||
}
|
||||
|
||||
function createPlatform(item, color) {
|
||||
if (!item.isPlatform) {
|
||||
if (!item.isPlatform && item.variable.at(-1) !== clickCount.value - 1) {
|
||||
listOfTrips.value.push(item)
|
||||
numbers.value[item.index].variable.push(clickCount.value);
|
||||
}
|
||||
item['isPlatform'] = true
|
||||
numbers.value[item.index].BgImg = `images/${color}-platform.jpg`
|
||||
clickCount.value++
|
||||
item['isPlatform'] = true
|
||||
}
|
||||
numbers.value[item.index].BgImg = `images/${color}-platform.jpg`
|
||||
}
|
||||
|
||||
function deletePlatform(item) {
|
||||
|
||||
Reference in New Issue
Block a user