Commit 8d0e89d5 by zhaochengxiang

bug fix

parent a8553111
......@@ -547,12 +547,12 @@ const AssetAction = (props) => {
const getMetadataStandardList = () => {
setMetadata(prevMetadata => {
if (prevMetadata.metadataTableId) {
if (prevMetadata?.metadataTableId) {
dispatch({
type: 'assetmanage.getMetadataStandardList',
payload: {
data: {
parentMetadataId: prevMetadata.metadataTableId
parentMetadataId: prevMetadata?.metadataTableId
},
params: {
page: 1,
......
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