瀏覽代碼

更新显示

lex 1 年之前
父節點
當前提交
4124bafeaf
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/card-preview/rhythm-modal/index.tsx

+ 3 - 1
src/components/card-preview/rhythm-modal/index.tsx

@@ -27,7 +27,9 @@ export default defineComponent({
         userStore.getToken
       }&platform=modal`;
     }
-
+    if (props.item.dataJson) {
+      src += '&dataJson=' + props.item.dataJson;
+    }
     return () => (
       <div class={styles.musicScore}>
         <iframe