File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ overlay-props | Object | - | Typescript:`OverlayProps `,[Overlay API Documen
16
16
placement | String | middle | options: top/middle/bottom | N
17
17
prevent-scroll-through | Boolean | false | \- | N
18
18
show-overlay | Boolean | false | \- | N
19
- theme | String | - | options: loading/success/error | N
19
+ theme | String | - | options: loading/success/warning/ error | N
20
20
using-custom-navbar | Boolean | false | \- | N
21
21
22
22
### Toast Events
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ overlay-props | Object | - | 遮罩层属性,透传至 Overlay。TS 类型:`
53
53
placement | String | middle | 弹窗展示位置。可选项: top/middle/bottom | N
54
54
prevent-scroll-through | Boolean | false | 防止滚动穿透,即不允许点击和滚动 | N
55
55
show-overlay | Boolean | false | 是否显示遮罩层 | N
56
- theme | String | - | 提示类型。可选项:loading/success/error | N
56
+ theme | String | - | 提示类型。可选项:loading/success/warning/ error | N
57
57
using-custom-navbar | Boolean | false | 是否使用了自定义导航栏 | N
58
58
59
59
### Toast Events
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { getInstance } from '../common/utils';
2
2
3
3
type Context = WechatMiniprogram . Page . TrivialInstance | WechatMiniprogram . Component . TrivialInstance ;
4
4
5
- type ToastType = 'loading' | 'success' | 'error' ;
5
+ type ToastType = 'loading' | 'success' | 'warning' | ' error';
6
6
type ToastPositionType = 'top' | 'middle' | 'bottom' ;
7
7
type ToastDirectionType = 'row' | 'column' ;
8
8
You can’t perform that action at this time.
0 commit comments