提交 8d489ea0 作者: ZhangLingKun

Merge branch 'develop'

流水线 #8716 已通过 于阶段
in 1 分 15 秒
...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 85d96f8d17a98ded16ad78d4f1d7d88811f987d6 newTag: 66168c43717b5c751414bf62591ae53d4b1e89e3
...@@ -81,7 +81,7 @@ export function MenuView() { ...@@ -81,7 +81,7 @@ export function MenuView() {
const arr = Object.entries(res.result); const arr = Object.entries(res.result);
const list = arr.map((i) => { const list = arr.map((i) => {
const key = menuKeyMap?.find((k) => k.label === i[0])?.key || 0; const key = menuKeyMap?.find((k) => k.label === i[0])?.key || 0;
return { key, number: i[1] }; return { key, number: Number(i[1]) };
}); });
const brr = [...new Set(list.map((i) => Math.floor(i.key / 100) * 100))].map((i) => { const brr = [...new Set(list.map((i) => Math.floor(i.key / 100) * 100))].map((i) => {
return { return {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论