Fix API compatibility and add user/role/permission and asset import/export

This commit is contained in:
2026-01-25 23:36:23 +08:00
commit 501d11e14e
371 changed files with 68853 additions and 0 deletions

View File

@@ -0,0 +1 @@
import{c as u,l,r as o}from"./vue-vendor-81Zqb-7t.js";function v(s=20){const e=o(1),a=o(s),t=o(0),n=l({page:e,pageSize:a,total:t}),r=u(()=>Math.ceil(t.value/a.value));return{currentPage:e,pageSize:a,total:t,pagination:n,totalPages:r,resetPage:()=>{e.value=1},setTotal:c=>{t.value=c}}}export{v as u};