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