import{_ as f,r as a,d as b,e as k,o as z,c as y,b as t,f as s,w as S,u as _,g as x,h as I,R as w,i as P,p as V,a as j}from"./index-5bdb1240.js";const v=n=>(V("data-v-4c890c25"),n=n(),j(),n),B={class:"left_container"},D={class:"mian-content"},N={class:"demo-pagination-block"},R=v(()=>t("div",{class:"demonstration"},"Jump to",-1)),U={class:"demo-pagination-block"},T=v(()=>t("div",{class:"demonstration"},"Total item count",-1)),$={__name:"myDemo",setup(n){const r=a(5);a(5);const c=a(5);a(4),a(100);const u=a(100);a(100);const d=a(!1),h=a(1e3),i=a(!1),p=a(!1);function g(){console.log(`${val} items per page`)}b(()=>{});function C(){x({transCode:"C00001",page:1,count:5,searchtag:"",userId:"5f06c8bc77234f969d13e160b54c27e3"}).then(e=>{console.log(e)}).catch(e=>{})}return(l,e)=>{const m=k("el-pagination");return z(),y("div",null,[t("div",B,[t("h2",{onClick:e[0]||(e[0]=o=>C())}," 我是路由"),s(_(w),{to:{path:"/myHome"}},{default:S(()=>[I("跳转到目标页")]),_:1})]),t("div",D,[t("div",N,[R,s(m,{"current-page":c.value,"onUpdate:currentPage":e[1]||(e[1]=o=>c.value=o),"page-size":u.value,"onUpdate:pageSize":e[2]||(e[2]=o=>u.value=o),small:d.value,disabled:p.value,background:i.value,layout:"prev,total, pager, next, jumper",total:h.value,onSizeChange:g,onCurrentChange:l.handleCurrentChange},null,8,["current-page","page-size","small","disabled","background","total","onCurrentChange"])]),t("div",U,[T,s(m,{"current-page":r.value,"onUpdate:currentPage":e[3]||(e[3]=o=>r.value=o),"page-size":100,small:d.value,disabled:p.value,background:i.value,layout:"total, prev, pager, next,jumpersizes,",total:1e3,onSizeChange:g,onCurrentChange:l.handleCurrentChange},null,8,["current-page","small","disabled","background","onCurrentChange"])]),s(_(P))])])}}},E=f($,[["__scopeId","data-v-4c890c25"]]);export{E as default};
