提交 2cf7dcc1 authored 作者: 钟是志's avatar 钟是志

签章组件容错

上级 4045f7e8
...@@ -140,16 +140,15 @@ export default function PictureSignature({ ...@@ -140,16 +140,15 @@ export default function PictureSignature({
} }
} }
}, [json.otherProps]); }, [json.otherProps]);
const { const {
ModalProps, ModalProps = {},
signConfig, signConfig,
footerButtons, footerButtons,
originButtons, originButtons,
backgroundImageWidth, backgroundImageWidth,
saveSignConfigValue = '', saveSignConfigValue = '',
showImageWidth = 1200, showImageWidth = 1200,
} = otherProps; } = otherProps || {};
const deleteSignConfig = key => { const deleteSignConfig = key => {
let findX = signConfig.findIndex(g => g.key === key); let findX = signConfig.findIndex(g => g.key === key);
signConfig.splice(findX, 1); signConfig.splice(findX, 1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论