Browse Source

软件锁

outaozhen 5 years atrás
parent
commit
e9b352bad4
2 changed files with 4 additions and 1 deletions
  1. 1 0
      package.json
  2. 3 1
      src/components/PopContent/Locks/LockForm.jsx

+ 1 - 0
package.json

@@ -50,6 +50,7 @@
     "@ant-design/pro-form": "^1.3.0",
     "@ant-design/pro-layout": "^6.5.15",
     "@ant-design/pro-table": "^2.9.16",
+    "@icon-park/react": "^1.3.3",
     "@umijs/route-utils": "^1.0.33",
     "ahooks": "^2.10.0",
     "antd": "^4.8.0",

+ 3 - 1
src/components/PopContent/Locks/LockForm.jsx

@@ -4,7 +4,9 @@ import { Row, Col, Divider } from 'antd'
 
 const LockForm = props => {
   const { longle } = props
-  useEffect(() => {}, [longle])
+  const productArr = longle.product
+  console.log(productArr)
+  // useEffect(() => {}, [longle])
   return (
     <div>
       <Row>