diff --git a/packages/omiu/src/dialog/index.js b/packages/omiu/src/dialog/index.js index 82c0db12a..62ad2b5df 100644 --- a/packages/omiu/src/dialog/index.js +++ b/packages/omiu/src/dialog/index.js @@ -48,18 +48,18 @@ define('o-dialog', class extends WeElement { let dialog = {}, dom -dialog.alert = function (msg) { +dialog.alert = function (msg, options) { if (dom) { document.body.removeChild(dom) } dom = render(, 'body') }