outaozhen 4 лет назад
Родитель
Сommit
df66075fa4

+ 1 - 0
src/pages/Product/Road/Enterprise/components/AddEnterprise/index.jsx

@@ -11,6 +11,7 @@ const AddEnterprise = ({
   visible,
   onCancel,
   onConfirm,
+  reload,
   disabled,
   compilationv2,
   defaultValues,

+ 2 - 1
src/pages/Product/Road/Enterprise/components/Detail/TabList.jsx

@@ -69,11 +69,12 @@ const EnterpriseTabList = props => {
       <div className="pl-15px">
         <Tabs>
           <TabPane tab={<span>授权定额</span>} key="1">
-            <div className="sheet-right-panel" ref={tRef}>
+            <div className="sheet-right-panel">
               <ProTable
                 size="small"
                 columns={columns}
                 search={false}
+                actionRef={tRef}
                 toolBarRender={false}
                 // eslint-disable-next-line no-underscore-dangle
                 rowKey={record => record._id}