Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
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
Administrator
bkunyun
Commits
c602505a
Commit
c602505a
authored
Aug 31, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 查看数据集增加提示文案
parent
09d7a08d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
index.tsx
src/views/Project/ProjectData/SeeDataset/index.tsx
+15
-13
No files found.
src/views/Project/ProjectData/SeeDataset/index.tsx
View file @
c602505a
...
@@ -19,6 +19,7 @@ import classNames from "classnames";
...
@@ -19,6 +19,7 @@ import classNames from "classnames";
import
Save
from
"./save"
;
import
Save
from
"./save"
;
import
NoData
from
"@/components/BusinessComponents/NoData"
;
import
NoData
from
"@/components/BusinessComponents/NoData"
;
import
Download
from
"./download"
;
import
Download
from
"./download"
;
import
MyTooltip
from
"@/components/mui/MyTooltip"
;
import
style
from
"./index.module.css"
;
import
style
from
"./index.module.css"
;
type
ISeeDatasetProps
=
{
type
ISeeDatasetProps
=
{
...
@@ -118,14 +119,14 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
...
@@ -118,14 +119,14 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
if
(
if
(
!
[
!
[
"meta"
,
"meta"
,
"canonical_smiles"
,
"id"
,
"id"
,
"mol"
,
// "canonical_smiles",
"mol2"
,
// "mol",
"pdb"
,
// "mol2",
"sdf"
,
// "pdb",
"sdf2d"
,
// "sdf",
"sdf3d"
,
// "sdf2d",
// "sdf3d",
// "smiles",
// "smiles",
].
includes
(
item
)
].
includes
(
item
)
)
{
)
{
...
@@ -327,12 +328,13 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
...
@@ -327,12 +328,13 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
>
>
{
key
}
{
key
}
</
span
>
</
span
>
<
span
<
MyTooltip
title=
{
item
[
key
]
}
>
className=
{
style
.
datasetLiDataLiValue
}
<
span
title=
{
item
[
key
]
}
className=
{
style
.
datasetLiDataLiValue
}
>
>
{
item
[
key
]
}
{
item
[
key
]
}
</
span
>
</
span
>
</
MyTooltip
>
</
div
>
</
div
>
);
);
})
}
})
}
...
...
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