component_ryl 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/dist/build.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -142,10 +142,42 @@
|
|
|
142
142
|
# :total="210" -- 总条数
|
|
143
143
|
# :page.sync="searchForm.page" -- 当前页
|
|
144
144
|
# :limit="20" -- 每页展示条数
|
|
145
|
-
# :showCurrentTotal="false" -- 是否显示每页分页条数(就是控制每页10条/15条)
|
|
146
145
|
# @reload="getList" -- 触发翻页时的函数,返回有个对象,用里面的page字段就行,代表当前页码
|
|
147
146
|
# />
|
|
148
147
|
|
|
148
|
+
# 参数:{
|
|
149
|
+
# // 总条数
|
|
150
|
+
# total: {
|
|
151
|
+
# type: Number,
|
|
152
|
+
# default: 0
|
|
153
|
+
# },
|
|
154
|
+
# // 当前页
|
|
155
|
+
# page: {
|
|
156
|
+
# type: Number,
|
|
157
|
+
# default: 1
|
|
158
|
+
# },
|
|
159
|
+
# // 每页默认显示条数
|
|
160
|
+
# limit: {
|
|
161
|
+
# type: Number,
|
|
162
|
+
# default: 15
|
|
163
|
+
# },
|
|
164
|
+
# // 自定义分页功能
|
|
165
|
+
# layout: {
|
|
166
|
+
# type: String,
|
|
167
|
+
# default: "total,sizes,prev,pager,next,jumper"
|
|
168
|
+
# },
|
|
169
|
+
# // 是否有背景色
|
|
170
|
+
# background: {
|
|
171
|
+
# type: Boolean,
|
|
172
|
+
# default: true
|
|
173
|
+
# },
|
|
174
|
+
# // 是否是小型分页
|
|
175
|
+
# small: {
|
|
176
|
+
# type: Boolean,
|
|
177
|
+
# default: false
|
|
178
|
+
# },
|
|
179
|
+
# }
|
|
180
|
+
|
|
149
181
|
# 5.数字or金额输入框 -- handInput
|
|
150
182
|
|
|
151
183
|
# <handInput
|
|
@@ -244,6 +276,7 @@
|
|
|
244
276
|
#1.0.36: 调整选择,多选,下拉的label字号为12px
|
|
245
277
|
#1.0.37: 菜单栏 new字样 效果调试
|
|
246
278
|
#1.0.38: 富文本编辑框,去掉即将删除的插件
|
|
279
|
+
#1.0.39: 分页组件优化,自定义设置
|
|
247
280
|
```
|
|
248
281
|
|
|
249
282
|
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
|