From 5b2d7f5b3f2b5590b63616516a2f6724ddf662da Mon Sep 17 00:00:00 2001 From: dntzhang Date: Mon, 1 Apr 2019 11:11:46 +0800 Subject: [PATCH] omiu - update dialog alert --- packages/omiu/src/dialog/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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') }