feat: 内容管理
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import { Typography } from 'antd';
|
import { Typography } from 'antd';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import DraggableTagList from '@/components/Draggable/DraggableTagList';
|
import DraggableTagList from '@/components/Draggable/DraggableTagList';
|
||||||
import { SkuConfig } from '@/services/prod/prod-manager';
|
import type { SkuConfig } from '@/services/prod/prod-manager';
|
||||||
|
|
||||||
const { Title, Text } = Typography;
|
const { Title, Text } = Typography;
|
||||||
const SkuProps: React.FC<{
|
const Sku: React.FC<{
|
||||||
value?: SkuConfig;
|
value?: SkuConfig;
|
||||||
onChange?: (value: SkuConfig) => void;
|
onChange?: (value: SkuConfig) => void;
|
||||||
}> = (_props) => {
|
}> = (_props) => {
|
||||||
@@ -21,4 +21,4 @@ const SkuProps: React.FC<{
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default React.memo(SkuConfig);
|
export default React.memo(Sku);
|
||||||
|
|||||||
Reference in New Issue
Block a user