diff --git a/packages/toast/Toast.js b/packages/toast/Toast.js index bc20e6f3c..ac5490b01 100644 --- a/packages/toast/Toast.js +++ b/packages/toast/Toast.js @@ -11,16 +11,13 @@ export default sfc({ props: { className: null, + loadingType: String, forbidClick: Boolean, message: [String, Number], type: { type: String, default: 'text' }, - loadingType: { - type: String, - default: 'circular' - }, position: { type: String, default: 'middle' diff --git a/packages/toast/index.js b/packages/toast/index.js index debdd299f..60098cae5 100644 --- a/packages/toast/index.js +++ b/packages/toast/index.js @@ -12,7 +12,7 @@ const defaultOptions = { duration: 3000, position: 'middle', forbidClick: false, - loadingType: 'circular', + loadingType: undefined, getContainer: 'body', overlayStyle: null };