Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project
jinfa-admin
Commits
7f97fee0
Commit
7f97fee0
authored
Dec 31, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复产品名称不显示的问题
parent
a27553dc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
15 deletions
+22
-15
index.less
src/pages/comment/manage/index.less
+6
-0
index.tsx
src/pages/comment/manage/index.tsx
+4
-3
yarn.lock
yarn.lock
+12
-12
No files found.
src/pages/comment/manage/index.less
View file @
7f97fee0
@import '../../../global/styles/utils.less';
.productName {
.textOverflow();
}
\ No newline at end of file
src/pages/comment/manage/index.tsx
View file @
7f97fee0
import
React
,
{
useState
,
useRef
}
from
'react'
;
import
{
Card
,
Rate
,
Button
,
Space
,
Modal
,
message
}
from
'antd'
;
import
{
Card
,
Rate
,
Button
,
Space
,
Modal
,
message
,
Tooltip
}
from
'antd'
;
import
{
ClockCircleOutlined
,
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
{
Link
}
from
'umi'
;
import
{
StandardTable
}
from
'god'
;
...
...
@@ -61,10 +61,11 @@ const CommentManage: React.FC = () => {
dataIndex
:
'product'
,
align
:
'center'
,
render
:
(
text
,
record
)
=>
{
const
product
=
isJSONStr
(
text
)
||
{};
return
(
<>
<
div
>
{
product
.
productName
}
</
div
>
<
Tooltip
title=
{
text
}
>
<
div
className=
{
styles
.
productName
}
>
{
text
}
</
div
>
</
Tooltip
>
<
div
style=
{
{
marginTop
:
4
,
...
...
yarn.lock
View file @
7f97fee0
...
...
@@ -7545,10 +7545,10 @@ glogg@^1.0.0:
dependencies:
sparkles "^1.0.0"
god-upload-scp@1.
2.0:
version "1.
2.0"
resolved "http://10.0.0.
21:8081/repository/node-group/god-upload-scp/-/god-upload-scp-1.2.0.tgz#8e2469e608c4a3c682beedc95b2a2834d7b940c6"
integrity sha512-
La0VTFPq9kYHKNW/QkAOyVAI1htL37xqT8U4jy3XQm0gDrdgSu+BxW8dHFXv4cGZH9AkAIXjqFkx4S3Ti17oCA==
god-upload-scp@1.
0.1:
version "1.
0.1"
resolved "http://10.0.0.
19:4873/god-upload-scp/-/god-upload-scp-1.0.1.tgz#347aaaa8c4e97e0441d5abd30ac87139df9ea9fc"
integrity sha512-
NoHcdv7brMq8lWyIMFbJvwB9bDza9h3rPPNRVN7d1BiRr25n0E5LiSl+m5BOkpq4hO1oUAJqusJrkOwfVKM8Nw==
dependencies:
async "^3.2.0"
chalk "^4.1.0"
...
...
@@ -7559,10 +7559,10 @@ god-upload-scp@1.2.0:
ssh2 "^0.8.9"
util "^0.12.3"
god-yapi2ts@^1.
9.0:
version "1.
9.0"
resolved "http://10.0.0.
21:8081/repository/node-group/god-yapi2ts/-/god-yapi2ts-1.9.0.tgz#2417e21efcf55fc8c00675200b2020800943790e"
integrity sha512-
/SnmScN+TO/IHwJc3mFyk5nK58QfCtMblvqM8q6ETs5G6Jp9FBmi7DNeTifSYtqdyb6NWi6vjWgG9+qRonDehw==
god-yapi2ts@^1.
0.0:
version "1.
0.0"
resolved "http://10.0.0.
19:4873/god-yapi2ts/-/god-yapi2ts-1.0.0.tgz#d8c955009fd23a8cd18d1af5f31d24531b74378d"
integrity sha512-
54pQ8j/LzAVLJ3E9HoiYbirAOEvElvogPr5rdWnGQespOmW9RnSdVcTkAz8iM8s4UwOIsgjtRA17VnrvtgRbVQ==
dependencies:
"@types/react" "^16.9.2"
"@vtils/date" "^2.55.0"
...
...
@@ -7583,10 +7583,10 @@ god-yapi2ts@^1.9.0:
tslib "^1.9.3"
vtils "^2.55.0"
god@^0.
1.29:
version "0.
1.30"
resolved "http://10.0.0.
21:8081/repository/node-group/god/-/god-0.1.30.tgz#6949c9108f410c8a0c622ff023402a396815ae9c"
integrity sha512-
ObuPhi5ikcOwSo/aQbolfV0CfzN65l0jqwwawHtOg85KohhOk+zxrCulmGQ0JC2wKdLz/W5XXdcK7HpaCw1FLw==
god@^0.
2.4:
version "0.
2.4"
resolved "http://10.0.0.
19:4873/god/-/god-0.2.4.tgz#232270a776d321780c3ca42682087cf258858e24"
integrity sha512-
VL6fJcBweSaHQNrlVyDg2M6r3a3g9PSjytXDZXbs9QEBLeq1EDBV8CU9AgP4MP+hPQ1/Wq3JCkWtaICQTEyvqA==
dependencies:
"@ant-design/icons" "^4.1.0"
"@umijs/route-utils" "^1.0.12"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment