chore: 同步 embed 静态资源(base=/ 修复深链白屏)

二进制 / K8s embed 模式 go:embed 使用 backend/static
This commit is contained in:
Logan.Li committed 2026-06-26 11:04:50 +08:00
1 parent 992e9b2ecc
commit 921b44d6a4
155 files changed
+187 -184

No files matched your search

@@ -0,0 +1 @@
import{r as i}from"./index-BTQygws6.js";function d(){const[r,s]=i.useState([]),c=i.useCallback(o=>{const t=Math.random().toString(36).slice(2),e={id:t,...o};s(a=>[...a,e]),setTimeout(()=>{s(a=>a.filter(u=>u.id!==t))},4e3)},[]),n=i.useCallback(o=>{s(t=>t.filter(e=>e.id!==o))},[]);return{toast:c,toasts:r,dismiss:n}}export{d as u};