在pdf.worker.js该文件下’Sig’这个参数所在地,注释掉相应的代码
var parent = Annotation.prototype;
Util.inherit(WidgetAnnotation, Annotation, {
isViewable: function WidgetAnnotation_isViewable() {
// if (this.data.fieldType === 'Sig') {
// warn('unimplemented annotation type: Widget signature');
// return false;
// }
return parent.isViewable.call(this);
}
});