shuisheng 2 년 전
부모
커밋
2ec03a90af
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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;
   });