feat: deal product services
This commit is contained in:
@@ -13,7 +13,6 @@ type Props = {
|
||||
const BarcodeTemplateAdditionalFieldTable: FC<Props> = (props: Props) => {
|
||||
const {value, onChange} = props;
|
||||
const [innerValue, setInnerValue] = useState<FieldType[]>(props.value || []);
|
||||
console.log(innerValue);
|
||||
const onNameChange = (field: FieldType, newName: string) => {
|
||||
const newField = {...field, name: newName};
|
||||
const newFields = innerValue.map(f => f === field ? newField : f);
|
||||
|
||||
@@ -33,7 +33,6 @@ const BarcodeTemplateFormModal = ({
|
||||
name: (name: string | undefined) => name && name.trim() !== '' ? null : "Необходимо ввести название шаблона",
|
||||
}
|
||||
})
|
||||
console.log(form.values.additionalAttributes);
|
||||
return (
|
||||
<BaseFormModal
|
||||
{...innerProps}
|
||||
|
||||
Reference in New Issue
Block a user