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

删除console

上级 cd4a4b30
...@@ -31,7 +31,7 @@ export default function PictureSignature({ ...@@ -31,7 +31,7 @@ export default function PictureSignature({
const changeShowModal = () => { const changeShowModal = () => {
setShowModal(!showModal); setShowModal(!showModal);
}; };
console.log(json); // console.log(json);
useEffect(() => { useEffect(() => {
if (json.otherProps) { if (json.otherProps) {
...@@ -48,7 +48,7 @@ export default function PictureSignature({ ...@@ -48,7 +48,7 @@ export default function PictureSignature({
height: image.height, height: image.height,
}); });
}; };
console.log(otherPropsX); // console.log(otherPropsX);
} catch (e) { } catch (e) {
console.log('签章组件 其余配置项出错,没有返回一个正确的值'); console.log('签章组件 其余配置项出错,没有返回一个正确的值');
return false; return false;
...@@ -218,7 +218,7 @@ export default function PictureSignature({ ...@@ -218,7 +218,7 @@ export default function PictureSignature({
export function SignArray(props){ export function SignArray(props){
const {value, onChange, basicUrl, json, } = props; const {value, onChange, basicUrl, json, } = props;
console.log(props); // console.log(props);
let files = value?.files || []; let files = value?.files || [];
const onChangeFile = (newFielInfo) => { const onChangeFile = (newFielInfo) => {
for(let item of files){ for(let item of files){
......
...@@ -28,7 +28,7 @@ export const dispatch = (type, payload, callback) => { ...@@ -28,7 +28,7 @@ export const dispatch = (type, payload, callback) => {
}; };
export const getContainer = (node) => { export const getContainer = (node) => {
console.log(node); // console.log(node);
if(window.parent?.document && node){ if(window.parent?.document && node){
return node; return node;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论