du
2025-03-27 4b2d006963d8a146865895966c459907a127313f
文本
已修改1个文件
5 ■■■■■ 文件已修改
easegen-front/src/views/chooseTemplate/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
easegen-front/src/views/chooseTemplate/index.vue
@@ -1424,7 +1424,6 @@
        console.log('innerPictureCom:', JSON.stringify(innerPictureCom))
        console.log(item.pptRemark)
        item.pptRemark = removeHtmlTags(item.pptRemark)
        console.log(plainText)
        const formatItem = {
          background: {
            backgroundType: item.backgroundType,
@@ -1542,8 +1541,8 @@
        }
        if (item.driverType == 1) {
          // 去除所有HTML标签和SSML标签后再判断内容是否为空
          const plainText = item.pptRemark ? item.pptRemark.replace(/<[^>]+>/g, '') : ''
          if (!plainText || plainText.trim() === '') {
          const plainText = item.pptRemark
          if (!plainText || plainText === '') {
            warningStrArr.push(
              `场景<span style="color: red; font-weight: bold;">${i + 1}</span>无有效的口播内容`
            )