Сделали условие появления кнопок Скопировать и Скачать
This commit is contained in:
+4
-2
@@ -135,8 +135,10 @@ function copyAndToast(text){
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<button type="button" class="btn-green" @click="isModalVisible = false">Скачать код</button>
|
<div v-if="listOfTrips.length">
|
||||||
<button type="button" class="btn-green" @click="copyAndToast(finallyText)">Скопировать код</button>
|
<button type="button" class="btn-green" @click="isModalVisible = false">Скачать код</button>
|
||||||
|
<button type="button" class="btn-green" @click="copyAndToast(finallyText)">Скопировать код</button>
|
||||||
|
</div>
|
||||||
<button type="button" class="btn-green" @click="isModalVisible = false">ОК</button>
|
<button type="button" class="btn-green" @click="isModalVisible = false">ОК</button>
|
||||||
</template>
|
</template>
|
||||||
</MyDialog>
|
</MyDialog>
|
||||||
|
|||||||
Reference in New Issue
Block a user