在iOS中的手机差距Apache构建中。如何将视图从肖像更改为景观。
makePDFAndShare: function(e) {
e.preventDefault();
progressShow();
/* generate pdf using url. */
pdf.htmlToPDF({
url: this.$urlShare.val(),
landscape : "portrait",
type: "share"
}, this.success, this.failure);
},
此图像
您是否尝试过使用景观代替肖像?
makePDFAndShare: function(e) {
e.preventDefault();
progressShow();
/* generate pdf using url. */
pdf.htmlToPDF({
url: this.$urlShare.val(),
landscape : "landscape",
type: "share"
}, this.success, this.failure);
}