|
@@ -589,8 +589,8 @@ export default defineComponent({
|
|
const osmdPreviewRef = ref()
|
|
const osmdPreviewRef = ref()
|
|
/** 渲染五线谱 */
|
|
/** 渲染五线谱 */
|
|
const renderStaff = () => {
|
|
const renderStaff = () => {
|
|
- staffData.iframeSrc = `${location.origin}/osmd/index.html`
|
|
|
|
- // staffData.iframeSrc = `${location.origin}${location.pathname}osmd/index.html`
|
|
|
|
|
|
+ // staffData.iframeSrc = `${location.origin}/osmd/index.html`
|
|
|
|
+ staffData.iframeSrc = `${location.origin}${location.pathname}osmd/index.html`
|
|
staffData.musicXml = musicDetail.value?.xmlFileUrl || ''
|
|
staffData.musicXml = musicDetail.value?.xmlFileUrl || ''
|
|
staffData.partList = musicDetail.value?.background || []
|
|
staffData.partList = musicDetail.value?.background || []
|
|
staffData.instrumentName = getInstrumentName(
|
|
staffData.instrumentName = getInstrumentName(
|