| | |
| | | isEditing.value = false |
| | | courseInfo.value.name = editName.value |
| | | } |
| | | let humanId = 0 |
| | | |
| | | //课程基本信息 |
| | | const courseInfo = ref({ |
| | |
| | | } |
| | | 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 |
| | |
| | | const html = editorRef.value.getText(); |
| | | const params = { |
| | | text: html, |
| | | humans: 1 |
| | | humans: humanId |
| | | } |
| | | showAudioPlay.value = true |
| | | pptTemplateApi |
| | |
| | | <script lang="ts" setup> |
| | | defineOptions({ name: 'GoView' }) |
| | | |
| | | const src = 'http://127.0.0.1:3000' |
| | | const src = 'http://192.168.3.159:3000' |
| | | </script> |