du
2025-03-28 f1f01b8807d96ebbe78f14b331c1d945996cd188
合成视频
已修改1个文件
15 ■■■■ 文件已修改
easegen-front/src/views/chooseTemplate/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
easegen-front/src/views/chooseTemplate/index.vue
@@ -1341,11 +1341,11 @@
    2: '2'
  }
})
// const removeHtmlTags= (html) =>{
//   const parser = new DOMParser();
//   const doc = parser.parseFromString(html, 'text/html');
//   return doc.body.textContent || "";
// }
const removeHtmlTags= (html) =>{
  const parser = new DOMParser();
  const doc = parser.parseFromString(html, 'text/html');
  return doc.body.textContent || "";
}
const saveSubmit = async (type) => {
  // 检查场景是否为空
@@ -1423,9 +1423,8 @@
        const innerPictureCom = item.innerPicture
        console.log('innerPictureCom:', JSON.stringify(innerPictureCom))
        console.log(item.pptRemark)
        // item.pptRemark = removeHtmlTags(item.pptRemark)
        item.pptRemark = editorRef.value.getText()
        console.log( item.pptRemark)
        item.pptRemark = removeHtmlTags(item.pptRemark)
        // item.pptRemark = editorRef.value.getText()
        // item.pptRemark=item.pptRemark.replace(/<[^>]+>/g, '')
        const formatItem = {
          background: {