Commit 5f05cf60 by zhaochengxiang

bug fix

parent 0426de6f
import React from 'react'; import React from 'react';
import { Drawer, Form } from 'antd'; import { Drawer, Form } from 'antd';
import { AssetDraftReference } from '../../../../util/constant';
import AssetAction from './AssetAction'; import AssetAction from './AssetAction';
const AssetDetailDrawer = (props) => { const AssetDetailDrawer = (props) => {
...@@ -19,7 +20,7 @@ const AssetDetailDrawer = (props) => { ...@@ -19,7 +20,7 @@ const AssetDetailDrawer = (props) => {
return ( return (
<Drawer <Drawer
visible={ visible } visible={ visible }
title='资产目录详情' title={(reference===AssetDraftReference)?'资产目录草稿详情':'资产目录详情'}
width='80%' width='80%'
placement="right" placement="right"
closable={ true } closable={ true }
......
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