官方纰漏bug修复和安全能力提升

This commit is contained in:
Weiming committed 2026-12-02 14:12:35 +08:00
1 parent 459339719d
commit ce00640ea4
148 files changed
+9524 -1701

No files matched your search

+1
View File
@@ -0,0 +1 @@
import{w as c,B as a,r as v,a5 as f}from"./index-DU2fjqYh.js";const P=[10,20,50],p=20;function I(g,s={}){var h;const e=v(1),l=Number(s.initialPageSize),t=v(P.includes(l)?l:p),o=a(()=>f(g)||[]),u=a(()=>o.value.length),r=a(()=>Math.max(1,Math.ceil(u.value/t.value))),i=()=>{e.value=Math.min(Math.max(1,Math.trunc(Number(e.value)||1)),r.value)},n=()=>{e.value=1},S=a(()=>{const m=(e.value-1)*t.value;return o.value.slice(m,m+t.value)});return c(t,n,{flush:"sync"}),c(u,i,{flush:"sync"}),(h=s.resetSources)!=null&&h.length&&c(s.resetSources,n,{flush:"sync"}),{page:e,pageSize:t,total:u,totalPages:r,paginatedItems:S,resetPage:n,clampPage:i}}export{I as u};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.