Files
affiliate_dash/frontend
yml2213 262376e603 fix(ui): 修复侧边栏选中高亮状态并为凭据列添加商品精致缩略图
1. 修复侧边栏导航选中高亮丢失:在 MainLayout 的 getSelectedKey 路由映射中补齐 /platform-rock 与 /platform-products,确保进入页面时左侧「商品管理」父菜单自动展开,「Rock发货与库存风控」高亮激活,并增加品牌蓝内嵌发光细条指示;
2. 凭证列新增商品微光缩略图:在 Rock 管理表格的「发货结果图片」列左侧加入 44x44 的圆角立绘小缩略图,支持悬浮微光放大动效与点击一键弹出深海蓝发货凭据大图预览。
2026-10-05 19:13:59 +08:00
..
2026-08-04 15:34:34 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-07-20 14:58:57 +08:00
2026-08-04 15:34:34 +08:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc"],
  "options": {
    "typeAware": true
  },
  "rules": {
    "react/rules-of-hooks": "error",
    "react/only-export-components": ["warn", { "allowConstantExport": true }]
  }
}

See the Oxlint rules documentation for the full list of rules and categories.