|
@@ -643,10 +643,9 @@ export default defineComponent({
|
|
try {
|
|
try {
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
if (staffData.musicPdfUrl) {
|
|
if (staffData.musicPdfUrl) {
|
|
- // ${
|
|
|
|
- // location.pathname
|
|
|
|
- // }
|
|
|
|
- const url = `${location.origin}/pdf/web/viewer-pdf.html?file=${encodeURIComponent(
|
|
|
|
|
|
+ const url = `${location.origin}${
|
|
|
|
+ location.pathname
|
|
|
|
+ }pdf/web/viewer-pdf.html?file=${encodeURIComponent(
|
|
staffData.musicPdfUrl
|
|
staffData.musicPdfUrl
|
|
)}&t=${Date.now()}`
|
|
)}&t=${Date.now()}`
|
|
|
|
|