Merge branch 'refs/heads/hotfix-copyquestionmissing-20240930' into feature-taste-20241009
# Conflicts: # src/views/planetDesign/Design/fragement/QuestionStem.vue
This commit is contained in:
@@ -427,7 +427,12 @@ export default {
|
||||
* 复制题目
|
||||
*/
|
||||
const copyHandle = (copyInfo) => {
|
||||
context.emit('update', copyInfo)
|
||||
// 2024-09-30 remove this line.
|
||||
// this line (1st api call) and the end line of this method (2nd api call) will trigger api call twice (same api with different params)
|
||||
// and the sequence of those two api call is very important
|
||||
// sometimes (not very often) 1st api call would be after 2nd api call [[[the ERROR show up here]]]
|
||||
// backend will add and delete new copied question immediately
|
||||
// context.emit('update', copyInfo)
|
||||
let copyInfoCopy = JSON.parse(JSON.stringify(copyInfo))
|
||||
if ([105, 201].includes(copyInfoCopy.question_type)) {
|
||||
copyInfoCopy.config.design_version = 0
|
||||
|
||||
Reference in New Issue
Block a user