Browse Source

合成节拍器由隐藏改为透明度

黄琪勇 1 năm trước cách đây
mục cha
commit
584abb253b

+ 1 - 0
components.d.ts

@@ -15,6 +15,7 @@ declare module '@vue/runtime-core' {
     NBreadcrumb: typeof import('naive-ui')['NBreadcrumb']
     NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem']
     NButton: typeof import('naive-ui')['NButton']
+    NCheckbox: typeof import('naive-ui')['NCheckbox']
     NConfigProvider: typeof import('naive-ui')['NConfigProvider']
     NCountdown: typeof import('naive-ui')['NCountdown']
     NDialogProvider: typeof import('naive-ui')['NDialogProvider']

+ 1 - 1
src/views/music-library/music-sheet/modal/musiceBeatTime/index.module.less

@@ -15,6 +15,6 @@
     line-height: 20px;
   }
   .iframe{
-    display: none;
+    opacity: 0;
   }
 }

+ 1 - 1
src/views/music-library/music-sheet/modal/musiceBeatTime/index.tsx

@@ -59,7 +59,7 @@ export default defineComponent({
     //let src = "http://192.168.3.122:3000/instrument.html" + `?_t=${Date.now()}&id=${props.id}&Authorization=${token}&isCbs=true&isbeatTimes=true&musicRenderType=staff`
     return () => (
       <div class={styles.musiceBeatTime}>
-        <div class={styles.tit}>节拍器音频生成中</div>
+        <div class={styles.tit}>节拍器音频生成中...</div>
         {
           iframeShow.value && <iframe class={styles.iframe} width={'667px'} height={'375px'} frameborder="0" src={src}></iframe>
         }