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