Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
eb9c1859
提交
eb9c1859
authored
6月 12, 2023
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/devlop' into develop
上级
2b051b97
ebe92141
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
5 行删除
+7
-5
index.scss
src/pages/categoryManage/category/index.scss
+2
-1
index.tsx
src/pages/categoryManage/category/index.tsx
+4
-3
index.tsx
...yManage/directoryManage/components/addOrEditDec/index.tsx
+1
-1
没有找到文件。
src/pages/categoryManage/category/index.scss
浏览文件 @
eb9c1859
...
...
@@ -20,8 +20,9 @@
.table-option-wrap
{
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
center
;
flex-wrap
:
wrap
;
align-items
:
center
;
}
.share-code
{
text-align
:
center
;
...
...
src/pages/categoryManage/category/index.tsx
浏览文件 @
eb9c1859
...
...
@@ -54,7 +54,7 @@ const Category: FC = (props: any) => {
title
:
'分类名称'
,
dataIndex
:
'classifyName'
,
key
:
'classifyName'
,
// align: "center"
,
align
:
'center'
,
width
:
'12%'
,
editable
:
true
,
ellipsis
:
true
,
...
...
@@ -89,7 +89,7 @@ const Category: FC = (props: any) => {
return
record
.
icon
?
(
<
img
src=
{
record
.
icon
}
style=
{
{
width
:
'
50px'
,
height
:
'50
px'
}
}
style=
{
{
width
:
'
25px'
,
height
:
'25
px'
}
}
onClick=
{
()
=>
imgClick
(
record
.
icon
)
}
/>
)
:
(
...
...
@@ -647,6 +647,7 @@ const Category: FC = (props: any) => {
style=
{
{
marginRight
:
'10px'
}
}
onClick=
{
()
=>
addCayDailogShow
()
}
icon=
{
<
PlusOutlined
/>
}
disabled=
{
tabList
.
length
==
0
}
>
新增分类
</
Button
>
...
...
@@ -683,7 +684,7 @@ const Category: FC = (props: any) => {
>
<
Form
form=
{
form
}
component=
{
false
}
>
<
Table
size=
'
small
'
size=
'
large
'
columns=
{
mergedColumns
}
dataSource=
{
categoryList
}
rowSelection=
{
rowSelection
}
...
...
src/pages/categoryManage/directoryManage/components/addOrEditDec/index.tsx
浏览文件 @
eb9c1859
...
...
@@ -140,7 +140,7 @@ const AddOrEditDec: React.FC<PropsType & selfPropsType> = ({
)} */
}
<
Form
.
Item
label=
'目录名称'
name=
'directoryName'
rules=
{
[{
required
:
true
}]
}
>
<
Input
placeholder=
'请输入目录名称'
allowClear=
{
true
}
></
Input
>
<
Input
placeholder=
'请输入目录名称'
allowClear=
{
true
}
maxLength=
{
20
}
></
Input
>
</
Form
.
Item
>
{
form
.
getFieldValue
(
'type'
)
==
'0'
&&
(
<
Form
.
Item
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论