shuisheng 2 năm trước cách đây
mục cha
commit
2ec03a90af
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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;
   });