fix: hide ImageUploadDialog footer
This commit is contained in:
parent
693c2fcb9a
commit
30787ff473
2 changed files with 13 additions and 5 deletions
|
|
@ -359,6 +359,7 @@ function clearData() {
|
|||
}
|
||||
|
||||
async function undo() {
|
||||
isImageEdit.value = false;
|
||||
formType.value = 'view';
|
||||
imageUrl.value = prevImageUrl.value;
|
||||
formData.value = prevFormData.value;
|
||||
|
|
@ -390,6 +391,7 @@ function triggerCreate(
|
|||
}
|
||||
|
||||
function drawerEdit() {
|
||||
isImageEdit.value = true;
|
||||
formType.value = 'edit';
|
||||
prevFormData.value = {
|
||||
...formData.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue