|
@ -7,7 +7,6 @@ const DepModal = (props) => { |
|
|
const { visible, onVisibleChange, onConfirm, depModalType, depData, data } = props; |
|
|
const { visible, onVisibleChange, onConfirm, depModalType, depData, data } = props; |
|
|
const formRef = useRef(); |
|
|
const formRef = useRef(); |
|
|
const onFinish = (values) => { |
|
|
const onFinish = (values) => { |
|
|
console.log('values:',values); |
|
|
|
|
|
if (onConfirm) { |
|
|
if (onConfirm) { |
|
|
if (depModalType === 'edit') { |
|
|
if (depModalType === 'edit') { |
|
|
let value = { |
|
|
let value = { |
|
|