Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
865d02ed
提交
865d02ed
authored
6月 13, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
http://git.mmcuav.cn/root/sharefly-admin-uav
into develop
上级
76f0836d
82a77d57
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
18 行增加
和
16 行删除
+18
-16
.env.development
env/.env.development
+3
-3
.env.production
env/.env.production
+2
-2
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
kustomization.yaml
kustomization/overlays/prod/kustomization.yaml
+1
-1
index.tsx
src/components/goods/commonAddOrEdit/baseInfo/index.tsx
+1
-0
index.tsx
...pages/mallManage/courseManage/comp/addEditModal/index.tsx
+8
-7
index.tsx
src/pages/mallManage/courseManage/index.tsx
+2
-2
没有找到文件。
env/.env.development
浏览文件 @
865d02ed
#请求接口地址
#VITE_REQUEST_BASE_URL='https://
www.iuav.shop
'
#
VITE_REQUEST_BASE_URL='https://test.iuav.shop'
VITE_REQUEST_BASE_URL='/api'
#VITE_REQUEST_BASE_URL='https://
iuav.mmcuav.cn
'
VITE_REQUEST_BASE_URL='https://test.iuav.shop'
#
VITE_REQUEST_BASE_URL='/api'
#旧版接口地址
#VITE_REQUEST_BASE_URL='https://iuav.mmcuav.cn'
#VITE_REQUEST_BASE_URL='https://test.iuav.mmcuav.cn'
...
...
env/.env.production
浏览文件 @
865d02ed
#请求接口地址
#VITE_REQUEST_BASE_URL='https://www.iuav.shop
'
VITE_REQUEST_BASE_URL='https://test.iuav.shop'
VITE_REQUEST_BASE_URL='https://iuav.mmcuav.cn
'
#
VITE_REQUEST_BASE_URL='https://test.iuav.shop'
#VITE_REQUEST_BASE_URL='/api'
#旧版接口地址
#VITE_REQUEST_BASE_URL='https://iuav.mmcuav.cn'
...
...
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
865d02ed
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag
:
4
65e507b3079097b231424c6de372ba1ba672b14
newTag
:
4
eea4419752ffd6b50165774c140a413e69f726d
kustomization/overlays/prod/kustomization.yaml
浏览文件 @
865d02ed
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/admin
newTag
:
7075ed8a992197acf49f443b0694ae9b9bd8ad5b
newTag
:
2ff6198c465d9b427c0a9b9bf38a06823810daff
src/components/goods/commonAddOrEdit/baseInfo/index.tsx
浏览文件 @
865d02ed
...
...
@@ -244,6 +244,7 @@ const BaseInfo: React.FC<selfProps> = forwardRef(
fileUpload
onChange=
{
videoUploadSuccess
}
defaultFileList=
{
videoList
}
fileSize=
{
50
}
>
{
isDetail
?
(
videoList
.
length
?
(
...
...
src/pages/mallManage/courseManage/comp/addEditModal/index.tsx
浏览文件 @
865d02ed
...
...
@@ -79,13 +79,14 @@ const AddEditModal: React.FC<propType> = (props) => {
type
:
3
,
});
if
(
res
&&
res
.
code
===
'200'
)
{
const
arr
=
res
.
result
?.
filter
((
i
)
=>
i
.
categoriesInfoListDTO
)
.
map
((
i
)
=>
({
label
:
i
.
name
,
value
:
i
.
directoryId
,
children
:
i
.
categoriesInfoListDTO
?.
map
((
j
)
=>
({
label
:
j
.
name
,
value
:
j
.
id
})),
}));
const
arr
=
res
.
result
?.
filter
((
i
)
=>
i
.
categoriesInfoListDTO
)
.
map
((
i
)
=>
({
label
:
i
.
name
,
value
:
i
.
directoryId
,
children
:
i
.
categoriesInfoListDTO
?.
map
((
j
)
=>
({
label
:
j
.
name
,
value
:
j
.
id
})),
}))
||
[];
setCurriculumSkillList
(
arr
);
// 回显数据
// 回显数据
...
...
src/pages/mallManage/courseManage/index.tsx
浏览文件 @
865d02ed
...
...
@@ -102,7 +102,7 @@ const CourseManageView = () => {
label
:
i
.
name
,
value
:
i
.
directoryId
,
children
:
i
.
categoriesInfoListDTO
?.
map
((
j
)
=>
({
label
:
j
.
name
,
value
:
j
.
id
})),
})),
}))
||
[]
,
);
}
};
...
...
@@ -121,7 +121,7 @@ const CourseManageView = () => {
width
:
'150px'
,
render
:
(
text
)
=>
{
// 反向找数据回显
const
item
=
curriculumSkillList
.
find
((
i
)
=>
i
.
children
?.
find
((
j
)
=>
j
.
value
===
text
));
const
item
=
curriculumSkillList
?
.
find
((
i
)
=>
i
.
children
?.
find
((
j
)
=>
j
.
value
===
text
));
const
childrenItem
=
item
?.
children
?.
find
((
i
)
=>
i
.
value
===
text
);
return
`
${
item
?.
label
}
/${childrenItem
?
.label}`
;
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论