du
2025-03-24 a747b537a1a972c0c36810029ed8545b4fb70785
数字人id
已修改2个文件
9 ■■■■■ 文件已修改
easegen-front/src/views/chooseTemplate/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
easegen-front/src/views/report/goview/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
easegen-front/src/views/chooseTemplate/index.vue
@@ -645,6 +645,7 @@
  isEditing.value = false
  courseInfo.value.name = editName.value
}
let humanId = 0
//课程基本信息
const courseInfo = ref({
@@ -1243,7 +1244,9 @@
}
const selectHost = ref() // 选择的数字人
const chooseHost = (item) => {
  console.log(item.pictureUrl)
  console.log(item)
  //将数字人id变成全局变量
  humanId=item.id
  hostList.value.forEach((el) => {
    if (el.id == item.id) {
      el.isActive = true
@@ -1704,7 +1707,7 @@
    const html = editorRef.value.getText();
  const params = {
    text: html,
    humans: 1
    humans: humanId
  }
  showAudioPlay.value = true
  pptTemplateApi
easegen-front/src/views/report/goview/index.vue
@@ -8,5 +8,5 @@
<script lang="ts" setup>
defineOptions({ name: 'GoView' })
const src = 'http://127.0.0.1:3000'
const src = 'http://192.168.3.159:3000'
</script>