Commit 20b8848e authored by Bill's avatar Bill

fix: 修改装修翻译

parent b9f735c9
......@@ -9,8 +9,9 @@ import TabFooter from './tabFooter';
import styles from './index.less';
import SwapCoupon from './swapCoupon';
import SwapProduct from './swapProduct';
import { useIntl} from 'umi'
import { getIntl } from 'umi'
const intl = getIntl();
const { TabPane } = Tabs;
interface Iprops {
className: string,
......@@ -93,7 +94,7 @@ interface Iprops {
}
const CommodityItem: React.FC<Iprops> = (props: Iprops) => {
const intl = useIntl();
// const intl = useIntl();
const { className, customizeClassName, ...other } = props;
const classNameStr = cx(styles.item, customizeClassName);
......@@ -143,7 +144,7 @@ CommodityList.Item = CommodityItem;
/** 套装商品 */
const CommodityTab: React.FC<any> = (props) => {
const intl = useIntl();
// const intl = useIntl();
const { isEmpty, id, productName, productImgUrl, price, goodsSubsidiaryGroupList } = props;
const [activeKey, setActiveKey] = useState<string>("1");
......
......@@ -72,7 +72,7 @@ interface ItemIprops {
}
const CouponItem: React.FC<ItemIprops> = (props: ItemIprops) => {
const intl = useIntl();
// const intl = useIntl();
const { children, className, ...other} = props;
const { onClick, onDrag, onDragEnd, onDragEnter, onDragStart, onMouseOver, getOperateState, ...rest} = other;
const { denomination, tag, useConditionMoney, typeName } = rest as any;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment