Skip to content

由 v1 遷移到 v2 ​

API 而家直接回傳 Unwrapped Data;login 改用 Object Parameter;Product List 固定 Pagination;Token 由 Interceptor 讀;未生效嘅 File Routing 整合已移除。

依次遷移 API Client、Vue Query、Route Meta 同 OpenAPI Types,最後跑 pnpm check 同 E2E。Theme、Monitoring、Upload、Virtual List、WebView Bridge 係 P1;Camera、QR、Deep Link、SSR/SSG 係 P2。

目前實作邊界 ​

三應用共用業務 Tab、主題同 HTTP 401,但只有 Vant 檢查 requiresAuth,authority 未接角色授權。業務頁預設唔快取,包括購物車同 Query;布局喺路由改變後重設 .app-content 捲動位置。Pinia 持久化同 Query 資料快取唔依賴 KeepAlive。user/cart 正式環境仲用 localStorage。/payment 提供純前端付款方式示範;真實付款、自動 token 更新、server 同步購物車同上傳未實作。見路由、狀態、部署。

Released under the MIT License.