Forráskód Böngészése

feat: 软件锁责任人

outaozhen 5 éve
szülő
commit
5b5dd8eab4

+ 1 - 2
src/pages/Product/Lock/Lockstore/components/LocksDetail/LockLowerList.jsx

@@ -3,8 +3,7 @@ import { dayjsFormat } from '@/utils/utils'
 
 const LockLowerList = props => {
   const {
-    collapsed,
-    log: { log: logs = [], total = 0 }
+    log: { log: logs = [] }
   } = props
   const { TabPane } = Tabs
   return (

+ 0 - 1
src/pages/Product/Lock/Lockstore/components/SoftwareDetail/StaffDetail.jsx

@@ -3,7 +3,6 @@ import { Row, Col, Divider } from 'antd'
 
 const StaffDetail = props => {
   const { staff } = props
-  console.log(staff)
   return (
     <div>
       <Row>

+ 2 - 2
src/pages/Product/Lock/Lockstore/components/SoftwareDetail/index.jsx

@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'
 import { Row, Col } from 'antd'
 import consts from '@/consts'
 import { apiStaffDetail } from '@/services/staff'
-import Detail from './StaffDetail'
+import StaffDetail from './StaffDetail'
 import TabList from './TabList'
 import LowerList from './LowerList'
 import { connect } from 'dva'
@@ -41,7 +41,7 @@ const SoftwareDetail = props => {
       <Row>
         <Col span={12} className="sheet-box-left">
           <div className="sheet-left-panel pr-4">
-            <Detail longle={state.staff} />
+            <StaffDetail staff={state.staff} />
           </div>
         </Col>
         <Col span={12} className="sheet-box-right">