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)
50
50
51
51
* 直接在vue单文件组件里使用或者在html里使用组件
52
52
53
- ``` javascript
53
+ ``` html
54
54
<Alert />
55
55
<Confirm />
56
56
<Toast />
@@ -62,6 +62,7 @@ Vue.component(Confirm.name,Confirm)
62
62
### 1. Alert
63
63
#### props
64
64
* alert* ` [Object] `
65
+
65
66
| key | value | description|
66
67
| :-----------:| :----------------------------------------:| :------:|
67
68
| title | ` [String] ` or ` [HTML Tag] ` | Alert里显示的标题 |
@@ -105,6 +106,7 @@ export default {
105
106
### 2. Confirm
106
107
#### props
107
108
* confirm* ` [Object] `
109
+
108
110
| key | value | description|
109
111
| :-----------:| :----------------------------------------:| :------:|
110
112
| title | ` [String] ` or ` [HTML Tag] ` | Confirm里的标题 |
@@ -157,6 +159,7 @@ export default {
157
159
158
160
#### props
159
161
* toast* ` [Object] `
162
+
160
163
| key | value | description| required | default |
161
164
| :-----------:| :----------------------------------------:| :---------:| :--------:| :-------:|
162
165
| time | ` [Number] ` | 控制Toast显示的时间 | No | 500 |
@@ -203,6 +206,7 @@ export default {
203
206
### 4. ActionSheet
204
207
#### props
205
208
* actionSheet* ` [Object] `
209
+
206
210
| key | value | description|
207
211
| :-----------:| :----------------------------------------:| :------:|
208
212
| menu | ` [Array - Object] ` | ActionSheet里的菜单项 |
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Vue.component(Confirm.name,Confirm)
53
53
54
54
* use the components directly in your vue spa file or the Vue instance ,like
55
55
56
- ``` javascript
56
+ ``` html
57
57
<Alert />
58
58
<Confirm />
59
59
<Toast />
@@ -67,6 +67,7 @@ Vue.component(Confirm.name,Confirm)
67
67
### 1. Alert
68
68
#### props
69
69
* alert* ` [Object] `
70
+
70
71
| key | value | description|
71
72
| :-----------:| :----------------------------------------:| :------:|
72
73
| title | ` [String] ` or ` [HTML Tag] ` | title of the alert |
@@ -110,6 +111,7 @@ export default {
110
111
### 2. Confirm
111
112
#### props
112
113
* confirm* ` [Object] `
114
+
113
115
| key | value | description|
114
116
| :-----------:| :----------------------------------------:| :------:|
115
117
| title | ` [String] ` or ` [HTML Tag] ` | title of the Confirm |
@@ -162,6 +164,7 @@ export default {
162
164
163
165
#### props
164
166
* toast* ` [Object] `
167
+
165
168
| key | value | description| required | default |
166
169
| :-----------:| :----------------------------------------:| :---------:| :--------:| :-------:|
167
170
| time | ` [Number] ` | control the time of the Toast | No | 500 |
@@ -208,6 +211,7 @@ export default {
208
211
### 4. ActionSheet
209
212
#### props
210
213
* actionSheet* ` [Object] `
214
+
211
215
| key | value | description|
212
216
| :-----------:| :----------------------------------------:| :------:|
213
217
| menu | ` [Array - Object] ` | items and the content of the ActionSheet |
You can’t perform that action at this time.
0 commit comments