Commit cf5168c3 by zhaochengxiang

资产详情再次调整

parent 2e43d427
import React, { useEffect, useState } from "react";
import { Spin, Tabs, Descriptions, Divider } from "antd";
import { Spin, Descriptions, Divider } from "antd";
import MetadataInfo from './MetadataInfo';
import { highlightSearchContentByTerms } from '../../../../util';
import { dispatch } from '../../../../model';
const { TabPane } = Tabs;
const AssetDetail = (props)=>{
const { id, terms } = props;
const [ asset, setAsset ] = useState('');
const [ types, setTypes ] = useState([]);
const [ loading, setLoading ] = useState(false);
const [ tabKey, setTabKey ] = useState('0');
useEffect(() => {
......@@ -49,10 +46,6 @@ const AssetDetail = (props)=>{
})
}
const onTabChange = (key) => {
setTabKey(key);
}
return(
<Spin spinning={loading}>
{
......
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