Commit 7f97fee0 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复产品名称不显示的问题

parent a27553dc
@import '../../../global/styles/utils.less';
.productName {
.textOverflow();
}
\ No newline at end of file
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,
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment