Browse Source

没有图片的时候,加载谱面当图片

黄琪勇 10 tháng trước cách đây
mục cha
commit
f8f732df04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/xiaoku-music/index.tsx

+ 1 - 1
src/views/xiaoku-music/index.tsx

@@ -928,7 +928,7 @@ export default defineComponent({
                 </div>
 
                 <div class={styles.staffImgs}>
-                  {isEnsemble.value ? (
+                  {(isEnsemble.value || musicImg.value.length === 0) ? (
                     <iframe
                       id="staffIframeRef"
                       style={{