diff --git a/ayanova/src/views/adm-import.vue b/ayanova/src/views/adm-import.vue index 6b56ab2e..507ed8d7 100644 --- a/ayanova/src/views/adm-import.vue +++ b/ayanova/src/views/adm-import.vue @@ -13,10 +13,13 @@ > - + - + @@ -131,6 +134,21 @@ export default { async upload(dat) { try { this.uploading = true; + + if (this.doUpdate == true) { + let dialogResult = await window.$gz.dialog.confirmGeneric( + "AdminImportUpdateWarning", + "dire" + ); + if (dialogResult == false) { + return; + } + + if (dialogResult == false) { + return; + } + } + const res = await window.$gz.api.post("import", { data: dat, atype: this.ayaType,