|
@@ -681,8 +681,12 @@ export default defineComponent({
|
|
|
staffData.xmlPartList = partList
|
|
|
}
|
|
|
|
|
|
- // staffData.iframeSrc = `${location.origin}/osmd/index.html`
|
|
|
- staffData.iframeSrc = `${location.origin}${location.pathname}osmd/index.html`
|
|
|
+ // staffData.iframeSrc = `${
|
|
|
+ // location.origin
|
|
|
+ // }/osmd/index.html?t=${new Date().getTime()}`
|
|
|
+ staffData.iframeSrc = `${location.origin}${
|
|
|
+ location.pathname
|
|
|
+ }osmd/index.html?t=${new Date().getTime()}`
|
|
|
staffData.musicXml = musicDetail.value?.xmlFileUrl || ''
|
|
|
staffData.partList = musicDetail.value?.background || []
|
|
|
staffData.partList.forEach((part: any) => {
|
|
@@ -896,10 +900,11 @@ export default defineComponent({
|
|
|
style={{
|
|
|
display:
|
|
|
musicDetail.value?.musicSheetType === 'SINGLE' ? '' : 'none',
|
|
|
- opacity: uploadImgs.value ? 0.6 : 1
|
|
|
+ opacity: showImg.value.length <= 0 ? 0.6 : 1
|
|
|
}}
|
|
|
onClick={() => {
|
|
|
- if (uploadImgs.value) return
|
|
|
+ if (showImg.value.length <= 0) return
|
|
|
+
|
|
|
staff.status = true
|
|
|
}}
|
|
|
>
|