From 8de2b403a6b597fef6028a8957dc7d10004e4b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 8 Jan 2026 14:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B0=94=E6=B3=A1=E5=8F=96?= =?UTF-8?q?=E5=80=BC=EF=BC=8C=E8=A1=A5=E5=85=85=E6=96=87=E6=A1=A3=E8=B5=84?= =?UTF-8?q?=E6=96=99=E7=9A=84=E7=A8=8D=E5=90=8E=E4=B8=8B=E8=BD=BD=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91=E5=B0=81=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/components/Resource2/index.jsx | 13 +++++++++++-- src/factory/lessons/detail/index.jsx | 11 ++++++++--- src/factory/resource/index.jsx | 2 +- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/factory/components/Resource2/index.jsx b/src/factory/components/Resource2/index.jsx index f046111ac..dabc535bf 100644 --- a/src/factory/components/Resource2/index.jsx +++ b/src/factory/components/Resource2/index.jsx @@ -10,7 +10,7 @@ import '../../common.scss' import { getSourceList, httpUrl } from '../../api'; import { factoryZoneId, docId, standardId, lessonId, manualId } from '../../../constants/factory' import { downloadFunc } from '../../../forge/Utils/utils' -import { Carousel } from 'antd'; +import { Carousel, message } from 'antd'; const iconList = [lessonsStandard1, lessonsStandard2, lessonsStandard3] @@ -163,7 +163,16 @@ const Resource2 = forwardRef(({ zoneId }, ref) => {
diff --git a/src/factory/resource/index.jsx b/src/factory/resource/index.jsx index 3b4e3f91e..8ca3a81ce 100644 --- a/src/factory/resource/index.jsx +++ b/src/factory/resource/index.jsx @@ -95,7 +95,7 @@ function Index(props) { getProjectsLists(factoryZoneId, { isHomepage: 0, pageSize: 6, pageNum: 1 }).then(res => { const rows = res.data.rows if (rows) { - setProjectList(rows.map(e => { return e.projectProperties.fullName.split('/')[1]})) + setProjectList(rows.map(e => { return e.projectProperties.name.split('/')[1]})) } }); };