Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
366acd86
提交
366acd86
authored
9月 27, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:话题显示问题
上级
ac1cd9f6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
7 行删除
+20
-7
index.scss
src/pages/forumManage/dynamicList/index.scss
+12
-5
index.tsx
src/pages/forumManage/dynamicList/index.tsx
+7
-2
index.tsx
src/pages/forumManage/topicList/index.tsx
+1
-0
没有找到文件。
src/pages/forumManage/dynamicList/index.scss
浏览文件 @
366acd86
.forum-description
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
cursor
:
pointer
;
.dynamic-list
{
.forum-description
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
cursor
:
pointer
;
}
.forum-topic
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
src/pages/forumManage/dynamicList/index.tsx
浏览文件 @
366acd86
import
SearchBox
,
{
searchColumns
}
from
'~/components/search-box'
;
import
{
Button
,
message
,
Modal
,
Table
,
T
ag
,
T
ooltip
}
from
'antd'
;
import
{
Button
,
message
,
Modal
,
Table
,
Tooltip
}
from
'antd'
;
import
{
ColumnsType
}
from
'antd/es/table'
;
import
{
useEffect
,
useState
}
from
'react'
;
import
DynamicDetailModal
from
'./components/dynamicDetailModal'
;
...
...
@@ -47,7 +47,12 @@ const DynamicList = () => {
title
:
'话题'
,
align
:
'center'
,
dataIndex
:
'gambitName'
,
render
:
(
text
:
string
[])
=>
text
?.
map
((
v
,
index
)
=>
<
Tag
key=
{
index
}
>
{
v
}
</
Tag
>),
ellipsis
:
true
,
render
:
(
text
:
string
[])
=>
(
<
Tooltip
title=
{
text
.
join
(
','
)
}
>
<
div
className=
'forum-topic'
>
{
text
.
join
(
','
)
}
</
div
>
</
Tooltip
>
),
},
{
title
:
'作者(用户名称)'
,
...
...
src/pages/forumManage/topicList/index.tsx
浏览文件 @
366acd86
...
...
@@ -18,6 +18,7 @@ const TopicList = () => {
title
:
'名称'
,
align
:
'center'
,
dataIndex
:
'gambitName'
,
width
:
'20%'
,
},
{
title
:
'属性'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论