|
@@ -236,7 +236,7 @@
|
|
imgSrc = OSS_PATH + dtlPath;
|
|
imgSrc = OSS_PATH + dtlPath;
|
|
}
|
|
}
|
|
let couldCreate = true;
|
|
let couldCreate = true;
|
|
- if (srcCell.picFeatures && srcCell.picFeatures.length === paths.length && srcCell.picFeatures[dtlPathIdx] === 'not found!') {
|
|
|
|
|
|
+ if (srcCell.picFeatures && srcCell.picFeatures.length === paths.length && (srcCell.picFeatures[dtlPathIdx] === 'not found!')) {
|
|
couldCreate = false;
|
|
couldCreate = false;
|
|
}
|
|
}
|
|
if (couldCreate) {
|
|
if (couldCreate) {
|
|
@@ -259,11 +259,12 @@
|
|
const newStampCell = {
|
|
const newStampCell = {
|
|
signature_name: 'dummy_pic',
|
|
signature_name: 'dummy_pic',
|
|
control: srcCell.control,
|
|
control: srcCell.control,
|
|
- style: srcCell.style,
|
|
|
|
|
|
+ // style: srcCell.style,
|
|
|
|
+ style: (srcCell.style && srcCell.style !== '') ? srcCell.style : 'sign_pic' ,
|
|
path: imgSrc,
|
|
path: imgSrc,
|
|
isStamp: true,
|
|
isStamp: true,
|
|
area,
|
|
area,
|
|
- // isOrgShow: (dtlPathIdx === 0),
|
|
|
|
|
|
+ isOrgShow: (dtlPathIdx === 0),
|
|
};
|
|
};
|
|
rstCells.push(newStampCell);
|
|
rstCells.push(newStampCell);
|
|
}
|
|
}
|