shuisheng 2 anos atrás
pai
commit
2ec03a90af
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      src/views/push/index.vue

+ 6 - 0
src/views/push/index.vue

@@ -1523,6 +1523,12 @@ function editMediaOk(val: AppRootState['allTrack'][0]) {
           );
         }
       }
+      if (val.type === MediaTypeEnum.txt) {
+        if (item.canvasDom) {
+          // @ts-ignore
+          item.canvasDom.set('text', val.txtInfo?.txt);
+        }
+      }
     }
     return item;
   });