Przeglądaj źródła

fix: 注册码和升级文件优化

outaozhen 5 lat temu
rodzic
commit
197b3df527

+ 1 - 4
src/pages/Product/Lock/Lockstore/components/LocksDetail/Form.jsx

@@ -24,9 +24,6 @@ const LockForm = props => {
     clientId: longle.clientId,
     clientId: longle.clientId,
     actionPayload: ChangeCompMap.LONGLE.key
     actionPayload: ChangeCompMap.LONGLE.key
   }
   }
-  const downUpdateFile = {
-    updateFile: longle.updateFile
-  }
   const handleCompanyClick = () => {
   const handleCompanyClick = () => {
     toggleDrawer()
     toggleDrawer()
     setDrawerProps({
     setDrawerProps({
@@ -111,7 +108,7 @@ const LockForm = props => {
         <Divider style={{ margin: '12px 0' }} />
         <Divider style={{ margin: '12px 0' }} />
         <Col span={6}>升级文件</Col>
         <Col span={6}>升级文件</Col>
         <Col span={18}>
         <Col span={18}>
-          <DownUpdateFile dataSource={downUpdateFile} />
+          <DownUpdateFile updateFile={longle.updateFile} />
         </Col>
         </Col>
       </Row>
       </Row>
     </div>
     </div>