diff --git a/src/pages/goods/goodsInfo/index.jsx b/src/pages/goods/goodsInfo/index.jsx index 6119c6b..3123c79 100644 --- a/src/pages/goods/goodsInfo/index.jsx +++ b/src/pages/goods/goodsInfo/index.jsx @@ -1,5 +1,5 @@ import { PlusOutlined, UploadOutlined } from '@ant-design/icons'; -import { Button, Card, message, Steps, Empty, Form, Input, Upload, Select, InputNumber, Switch } from 'antd'; +import { Button, Card, message, Steps, Form, Input, Upload, Select, InputNumber, Switch } from 'antd'; import { GridContent, PageContainer, RouteContext } from '@ant-design/pro-layout'; import React, { Fragment, useRef, useState, useEffect } from 'react'; import classNames from 'classnames'; @@ -22,6 +22,7 @@ const Advanced = (props) => { const [currTabKey, SetCurrTabKey] = useState("basis") const [url, setUrl] = useState(props.location.query.values ? props.location.query.values.imgUrl : null); const [currentGoodsProp, setCurrentGoodsProp] = useState(0); + const { TextArea } = Input; //事件 const onFinish = async (values) => { const hide = message.loading('正在添加'); @@ -307,6 +308,9 @@ const Advanced = (props) => {