1<template> 2 <b-modal 3 id="modal-switch-to-running" 4 :ok-title="$t('pageFirmware.modal.switchImages')" 5 :cancel-title="$t('global.action.cancel')" 6 :title="$t('pageFirmware.modal.switchRunningImage')" 7 @ok="$emit('ok')" 8 > 9 <p> 10 {{ $t('pageFirmware.modal.switchRunningImageInfo') }} 11 </p> 12 <p class="m-0"> 13 {{ 14 $t('pageFirmware.modal.switchRunningImageInfo2', { 15 backup, 16 }) 17 }} 18 </p> 19 </b-modal> 20</template> 21 22<script> 23export default { 24 props: { 25 backup: { 26 type: String, 27 required: true, 28 }, 29 }, 30}; 31</script> 32