mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
add Confirm Delete to Action DeleteImage
This commit is contained in:
@@ -32,7 +32,13 @@ export default {
|
||||
}
|
||||
},
|
||||
deleteImage() {
|
||||
this.$emit('update:modelValue', '');
|
||||
this.$fhcAlert
|
||||
.confirmDelete()
|
||||
.then(result => {
|
||||
if (result) {
|
||||
this.$emit('update:modelValue', '');
|
||||
}
|
||||
});
|
||||
},
|
||||
emitAction(){
|
||||
this.$emit('actionbutton-clicked', this.modelValue);
|
||||
|
||||
Reference in New Issue
Block a user