File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ Vue.component(Confirm.name,Confirm)
5050
5151* 直接在vue单文件组件里使用或者在html里使用组件
5252
53- ``` javascript
53+ ``` html
5454<Alert />
5555<Confirm />
5656<Toast />
@@ -62,6 +62,7 @@ Vue.component(Confirm.name,Confirm)
6262### 1. Alert
6363#### props
6464 * alert* ` [Object] `
65+
6566| key | value | description|
6667| :-----------:| :----------------------------------------:| :------:|
6768| title | ` [String] ` or ` [HTML Tag] ` | Alert里显示的标题 |
@@ -105,6 +106,7 @@ export default {
105106### 2. Confirm
106107#### props
107108 * confirm* ` [Object] `
109+
108110| key | value | description|
109111| :-----------:| :----------------------------------------:| :------:|
110112| title | ` [String] ` or ` [HTML Tag] ` | Confirm里的标题 |
@@ -157,6 +159,7 @@ export default {
157159
158160#### props
159161 * toast* ` [Object] `
162+
160163| key | value | description| required | default |
161164| :-----------:| :----------------------------------------:| :---------:| :--------:| :-------:|
162165| time | ` [Number] ` | 控制Toast显示的时间 | No | 500 |
@@ -203,6 +206,7 @@ export default {
203206### 4. ActionSheet
204207#### props
205208 * actionSheet* ` [Object] `
209+
206210| key | value | description|
207211| :-----------:| :----------------------------------------:| :------:|
208212| menu | ` [Array - Object] ` | ActionSheet里的菜单项 |
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Vue.component(Confirm.name,Confirm)
5353
5454* use the components directly in your vue spa file or the Vue instance ,like
5555
56- ``` javascript
56+ ``` html
5757<Alert />
5858<Confirm />
5959<Toast />
@@ -67,6 +67,7 @@ Vue.component(Confirm.name,Confirm)
6767### 1. Alert
6868#### props
6969 * alert* ` [Object] `
70+
7071| key | value | description|
7172| :-----------:| :----------------------------------------:| :------:|
7273| title | ` [String] ` or ` [HTML Tag] ` | title of the alert |
@@ -110,6 +111,7 @@ export default {
110111### 2. Confirm
111112#### props
112113 * confirm* ` [Object] `
114+
113115| key | value | description|
114116| :-----------:| :----------------------------------------:| :------:|
115117| title | ` [String] ` or ` [HTML Tag] ` | title of the Confirm |
@@ -162,6 +164,7 @@ export default {
162164
163165#### props
164166 * toast* ` [Object] `
167+
165168| key | value | description| required | default |
166169| :-----------:| :----------------------------------------:| :---------:| :--------:| :-------:|
167170| time | ` [Number] ` | control the time of the Toast | No | 500 |
@@ -208,6 +211,7 @@ export default {
208211### 4. ActionSheet
209212#### props
210213 * actionSheet* ` [Object] `
214+
211215| key | value | description|
212216| :-----------:| :----------------------------------------:| :------:|
213217| menu | ` [Array - Object] ` | items and the content of the ActionSheet |
You can’t perform that action at this time.
0 commit comments