fix: 接口调整
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user