Commit c96d3d7d by zhaochengxiang

bug fix

parent ff1e2ff2
...@@ -104,13 +104,15 @@ const TemplateAction = (props) => { ...@@ -104,13 +104,15 @@ const TemplateAction = (props) => {
return ( return (
<Spin spinning={loading}> <Spin spinning={loading}>
<Tabs activeKey={tabKey} onChange={onTabChange}> <Tabs centered activeKey={tabKey} onChange={onTabChange}>
<TabPane tab='基本信息' key='1'> <TabPane tab='基本信息' key='1'>
<div style={{ padding: '0px 20px 0' }}>
<TemplateActionHeader <TemplateActionHeader
form={form} form={form}
editable={action!=='detail'} editable={action!=='detail'}
templateData={templateData||{}} templateData={templateData||{}}
/> />
</div>
</TabPane> </TabPane>
<TabPane <TabPane
tab={ tab={
...@@ -127,6 +129,7 @@ const TemplateAction = (props) => { ...@@ -127,6 +129,7 @@ const TemplateAction = (props) => {
} }
key='2' key='2'
> >
<div style={{ padding: '0px 20px 0' }}>
<ImportActionTable <ImportActionTable
type='template' type='template'
modelerData={templateData||{}} modelerData={templateData||{}}
...@@ -134,6 +137,7 @@ const TemplateAction = (props) => { ...@@ -134,6 +137,7 @@ const TemplateAction = (props) => {
onChange={onTableChange} onChange={onTableChange}
editable={action!=='detail'} editable={action!=='detail'}
/> />
</div>
</TabPane> </TabPane>
</Tabs> </Tabs>
{ {
......
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