style(front): dangerous button modal confirm button default dangerous color
This commit is contained in:
parent
86d8315108
commit
28fee830b1
|
@ -49,7 +49,7 @@ const confirm = () => {
|
||||||
</div>
|
</div>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<Button
|
<Button
|
||||||
v-bind="{[{success: 'primary', danger: 'destructive'}[confirmColor || 'success']]: true}"
|
v-bind="{[{success: 'primary', danger: 'destructive'}[confirmColor || 'danger']]: true}"
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
>
|
>
|
||||||
<slot name="modal-confirm">
|
<slot name="modal-confirm">
|
||||||
|
|
Loading…
Reference in New Issue