Browse Source

更新显示

lex 1 year ago
parent
commit
4124bafeaf
1 changed files with 3 additions and 1 deletions
  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