|
@ -13,10 +13,10 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="modal-footer"> |
|
|
<div class="modal-footer"> |
|
|
<button type="button" class="btn" :class="btnStyle" data-bs-dismiss="modal" @click="yes"> |
|
|
<button type="button" class="btn" :class="btnStyle" data-bs-dismiss="modal" @click="yes"> |
|
|
Yes |
|
|
{{ yesText }} |
|
|
</button> |
|
|
</button> |
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> |
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> |
|
|
No |
|
|
{{ noText }} |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -33,6 +33,14 @@ export default { |
|
|
type: String, |
|
|
type: String, |
|
|
default: "btn-primary", |
|
|
default: "btn-primary", |
|
|
}, |
|
|
}, |
|
|
|
|
|
yesText: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "Yes", |
|
|
|
|
|
}, |
|
|
|
|
|
noText: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "No", |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
data: () => ({ |
|
|
data: () => ({ |
|
|
modal: null, |
|
|
modal: null, |
|
|