10 lines
184 B
JavaScript
10 lines
184 B
JavaScript
|
const Confirm = {
|
||
|
props: ['disabled'],
|
||
|
data: () => ({}),
|
||
|
methods: {
|
||
|
confirm () { this.$emit('confirm') },
|
||
|
cancel () { this.$emit('cancel') }
|
||
|
}
|
||
|
}
|
||
|
export default Confirm
|