简体   繁体   English

为什么当我将它插入 html 时浏览器会自动添加到最后的链接字符串

[英]why browser auto add to link string in end when I insert it in html

I use grapecity pdf viewer我使用葡萄城 pdf 查看器

wj-pdf-viewer #pdfViewer 
  [serviceUrl]="'https://test.....azurewebsites.net/'"
  [filePath]="'books/%D7%9B%D7%A4.......pdf'">
</wj-pdf-viewer>

and in network tab I see that it added to result string something https://test....azurewebsites.net/books/%D7%9B%D7%A4%D7%9C-%D7%95%D....pdf/ $pdf?_=1571151136434在网络选项卡中,我看到它在结果字符串中添加了https://test....azurewebsites.net/books/%D7%9B%D7%A4%D7%9C-%D7%95%D... .pdf/ $pdf?_=1571151136434

that is why I got 404 error这就是为什么我得到 404 错误

How I have to correct set link to pdf?我必须如何更正指向 pdf 的设置链接? how to avoid auto adding string at the end of link如何避免在链接末尾自动添加字符串

Thanks!谢谢!

The Wijmo's PDF viewer is only compatible with C1WebApi PDF services and from what I understand, you have hosted your PDF document elsewhere. Wijmo 的 PDF 查看器仅与 C1WebApi PDF 服务兼容,据我了解,您在其他地方托管了 PDF 文档。 To learn more about C1WebApi, refer to this link .要了解有关 C1WebApi 的更多信息,请参阅此链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么当我尝试将 javascript 文件链接到 html 时浏览器显示找不到文件错误? - why is the browser shows me file not found error when i try to link javascript file to html? 当我在此字符串的末尾添加多个字符时,为什么什么也没得到? - Why do i get nothing back when i add more than one char to the end of this string? 当我尝试在字段末尾添加索引时为什么会得到 NAN? - Why getting NAN when i try to add index in end of the field? 如何将html链接插入数组字符串? - how to insert an html link into an array string? 为什么在附加元素时 html 最终位于 JavaScript 链接下方? - Why does the html end up below the JavaScript link when element appended? 当我尝试获取所选文本的html时,如何避免浏览器自动打开或关闭标签 - How can i avoid browser auto open or close tags when i try to get the html of the text selected 如何在浏览器的自动完成弹出窗口中添加字符串? - How do I add a string to browser's auto-complete popup? 如何在链接末尾添加变量? - How do I add a variable to the end of a link? 为什么在尝试使用javascript动态添加html时,我的html字符串中的字符丢失了? - Why am I losing my characters from my html string when trying to add html dynamically using javascript 将target = _blank添加到HTML字符串中的每个链接 - Add target=_blank to every link in a HTML string
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM