UNPKG

jobsys-newbie

Version:

Enhanced component based on ant-design-vue

2 lines (1 loc) 2.26 kB
import{_ as e,e as o,o as d,c as s,b as t,f as l,d as u}from"./app-e5356031.js";const r={},i=t("h1",{id:"newbielist",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#newbielist","aria-hidden":"true"},"#"),l(" NewbieList")],-1),a=t("blockquote",null,[t("p",null,"列表组件")],-1),_=t("p",null,"Version: 1.0.0",-1),c=t("h2",{id:"props",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#props","aria-hidden":"true"},"#"),l(" Props")],-1),h=t("thead",null,[t("tr",null,[t("th",null,"Prop name"),t("th",null,"Description"),t("th",null,"Type"),t("th",null,"Values"),t("th",null,"Default")])],-1),p=t("tr",null,[t("td",null,"url"),t("td",null,"加载数据的 URL"),t("td",null,"string"),t("td",null,"-"),t("td",null,'""')],-1),b=t("tr",null,[t("td",null,"extraData"),t("td",null,"请求附带参数"),t("td",null,"object"),t("td",null,"-"),t("td",null,"{}")],-1),f=t("tr",null,[t("td",null,"height"),t("td",null,"高度"),t("td",null,"number"),t("td",null,"-"),t("td",null,"300")],-1),m=t("tr",null,[t("td",null,"offset"),t("td",null,"加载触发距离,滚动条与底部距离小于 offset 时触发 load 事件"),t("td",null,"number"),t("td",null,"-"),t("td",null,"50")],-1),x=t("tr",null,[t("td",null,"finishedText"),t("td",null,"加完完毕提示文案"),t("td",null,"string"),t("td",null,"-"),t("td",null,'"数据加载完毕"')],-1),w=t("tr",null,[t("td",null,"autoLoad"),t("td",null,"是否自动加载"),t("td",null,"boolean"),t("td",null,"-"),t("td",null,"true")],-1),L=t("tr",null,[t("td",null,"useStore"),t("td",null,[l("是否使用 store"),t("br"),l("如果使用 store, 请确认 store 中定义了 pagination 和 initPagination 方法")]),t("td",null,"object"),t("td",null,"-"),t("td",null,"() => null")],-1),g=t("td",null,"listProps",-1),k={href:"https://www.antdv.com/components/list-cn#api",target:"_blank",rel:"noopener noreferrer"},N=t("td",null,"object",-1),V=t("td",null,"-",-1),v=t("td",null,"{}",-1),P=t("hr",null,null,-1);function j(B,D){const n=o("ExternalLinkIcon");return d(),s("div",null,[i,a,_,c,t("table",null,[h,t("tbody",null,[p,b,f,m,x,w,L,t("tr",null,[g,t("td",null,[l("原生 "),t("a",k,[l("List"),u(n)]),l(" 参数")]),N,V,v])])]),P])}const T=e(r,[["render",j],["__file","NewbieList.html.vue"]]);export{T as default};