tableQuestionId为空时增加判断
continuous-integration/drone/push Build encountered an error Details

uat
wangxiaoshuang 2025-07-24 16:41:00 +08:00
parent ef489552ea
commit 0aaf2f3edb
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@
</template>
</el-select>
<span
v-else-if="questionForm[scope.row.QuestionId] instanceof Array && scope.row.Type === 'select' || scope.row.Type === 'radio'">
v-else-if="questionForm[scope.row.QuestionId] instanceof Array && (scope.row.Type === 'select' || scope.row.Type === 'radio')">
{{ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] }}
</span>
<el-select
@ -615,6 +615,7 @@ export default {
taskQuestions.forEach(item => {
this.$set(this.taskQuestions, this.taskQuestions.length, item)
})
console.log(this.taskQuestions,'this.taskQuestions')
this.visitTaskList = res.Result.VisitTaskList
this.InitVisitTaskQuestionForm()
this.handleResize()