From 3cae4288f27977ee072d006805010433bc5b933c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Wed, 15 May 2019 20:48:10 +0800 Subject: [PATCH] [bugfix] Toast: loading type error --- packages/toast/Toast.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toast/Toast.js b/packages/toast/Toast.js index 1b9705d41..6a107e52f 100644 --- a/packages/toast/Toast.js +++ b/packages/toast/Toast.js @@ -64,7 +64,7 @@ export default sfc({ }, render(h) { - const { type, message } = this; + const { type, message, loadingType } = this; const style = STYLE.indexOf(type) !== -1 ? 'default' : type; function Content() { @@ -77,7 +77,7 @@ export default sfc({ return [ type === 'loading' ? ( - + ) : ( ),