UNPKG

jobsys-explore

Version:

Enhanced component based on vant

2 lines (1 loc) 2.75 kB
import{_ as e,o as t,c as r,a as o}from"./app-29fe8d1e.js";const d={},c=o('<h1 id="exprovider" tabindex="-1"><a class="header-anchor" href="#exprovider" aria-hidden="true">#</a> ExProvider</h1><blockquote><p>Explore 配置组件</p></blockquote><p>Version: 1.0.0</p><h2 id="props" tabindex="-1"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2><table><thead><tr><th>Prop name</th><th>Description</th><th>Type</th><th>Values</th><th>Default</th></tr></thead><tbody><tr><td>uploader</td><td><br><code>@typedef</code> {Object} UploaderProviderProps <code>ExUploader</code> 配置<br><code>@typedef</code> {Object} UploadFileItem 文件项<br><code>@property</code> 上传地址<br><code>@property</code> 默认文件项<br><code>@property</code> [id] 文件 ID<br><code>@property</code> [name] 文件名<br><code>@property</code> .url 文件地址<br><code>@property</code> .path 文件路径<br><code>@property</code> [thumbUrl] 缩略图地址</td><td>object</td><td>-</td><td>{<br> uploadUrl: &quot;&quot;,<br><br> defaultFileItem: {<br> id: &quot;id&quot;,<br> name: &quot;name&quot;,<br> url: &quot;url&quot;,<br> path: &quot;path&quot;,<br> thumbUrl: &quot;thumbUrl&quot;,<br> }<br>}</td></tr><tr><td>form</td><td><br><code>@typedef</code> {Object} FormProviderProps <code>ExForm</code> 配置<br><code>@property</code> [format] 格式化配置, 如 {date: true} 表示在提交表单时使用 <code>useFormFormat</code> 格式所有日期字段<br><code>@property</code> [afterFetched] 处理接口返回数据的函数</td><td>object</td><td>-</td><td>{<br> format: {},<br> afterFetched: null<br>}</td></tr><tr><td>search</td><td><br><code>@typedef</code> {Object} SearchProviderProps <code>ExSearch</code> 配置<br><code>@property</code> [maskClass] 定制伪 Input 样式<br><code>@property</code> [inputClass] 弹层中 Input 的样式</td><td>object</td><td>-</td><td>{<br> maskClass: &quot;&quot;,<br> inputClass: &quot;&quot;<br>}</td></tr><tr><td>pagination</td><td><br><code>@typedef</code> {Object} PaginationProviderProps <code>ExPagination</code> 配置<br><code>@typedef</code> {Object} PaginationRequestKeys 请求参数键名<br><code>@property</code> [afterFetched] 处理接口返回数据的函数<br><code>@property</code> [requestKeys] 请求参数键名<br><code>@property</code> [currentPage] 当前页码<br><code>@property</code> [pageSize] 每页条数</td><td>object</td><td>-</td><td>{<br> afterFetched: null,<br><br> requestKeys: {<br> currentPage: &quot;currentPage&quot;,<br> pageSize: &quot;pageSize&quot;,<br> }<br>}</td></tr></tbody></table><hr>',6),a=[c];function p(b,u){return t(),r("div",null,a)}const s=e(d,[["render",p],["__file","ExProvider.html.vue"]]);export{s as default};