diff --git a/plugins/image-dialog/image-dialog.js b/plugins/image-dialog/image-dialog.js index 68da892..b49482f 100644 --- a/plugins/image-dialog/image-dialog.js +++ b/plugins/image-dialog/image-dialog.js @@ -108,12 +108,18 @@ this.hide().lockScreen(false).hideMask(); + //删除对话框 + this.remove(); + return false; }], cancel : [lang.buttons.cancel, function() { this.hide().lockScreen(false).hideMask(); + //删除对话框 + this.remove(); + return false; }] }