Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
@@ -11,7 +11,13 @@ export default {
name: 'PdfViewExample',
data() {
return {
- pdfUrl: 'https://www.kdocs.cn/l/co62pOTVms8w'
+ pdfUrl: 'https://jybx-webtest.jydev.jianyu360.com/shareFile/bidCreditReportFile/1e452a27575834907747949258e09893/%E4%B8%87%E8%BE%BE%E4%BF%A1%E6%81%AF%E8%82%A1%E4%BB%BD%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8.pdf'
+ }
+ },
+ created() {
+ const { pdfUrl } = this.$route.query
+ if (pdfUrl) {
+ this.pdfUrl = pdfUrl
}