fix: 接口调整

This commit is contained in:
杨航
2025-09-23 18:59:58 +08:00
parent 947c7a5247
commit 5124bf97c4
2 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -409,14 +409,15 @@ const canAnswerText = computed(() => {
const oldStdyId = ref('')
// 获取段落
const getGraphInfoUnStudy = (flag = 0) => {
const getGraphInfoUnStudy = (flag = 0, lastPgrphId = '') => {
let _id = new Date().getTime() + 'id'
let _data = {
crsId: crsId.value,
stdyId: unref(stdyId),
stdyBatch: unref(stdyBatch),
oldStdyId: unref(oldStdyId),
isContinue: isContinue.value
isContinue: isContinue.value,
lastPgrphId
}
if (flag === 1 && !!startPgrphId.value) {
_data.pgrphId = startPgrphId.value
@@ -585,7 +586,7 @@ const nextQuestionSuccess = (info, type = 'next') => {
id: _id
})
// 下个段落
getGraphInfoUnStudy()
getGraphInfoUnStudy(0, info.pgrphId)
} else if (type === 'reStart') {
talkingList.value.push({
crsId: info.crsId,