Commit 09d7a08d authored by chenshouchao's avatar chenshouchao

fix: 查看数据集显示数据修改

parent ecfe0608
......@@ -117,6 +117,7 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
Object.keys(res.data.list[0]).forEach((item) => {
if (
![
"meta",
"canonical_smiles",
"id",
"mol",
......@@ -313,7 +314,7 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
</div>
{showData.length !== 0 && (
<div className={style.datasetLiDataList}>
{Object.keys(item.meta)
{Object.keys(item)
.filter((key) => showData.indexOf(key) !== -1)
.map((key, index) => {
return (
......@@ -328,8 +329,9 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
</span>
<span
className={style.datasetLiDataLiValue}
title={item[key]}
>
{item.meta[key]}
{item[key]}
</span>
</div>
);
......
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