1
continuous-integration/drone/push Build is passing Details

main
caiyiling 2025-06-05 18:32:22 +08:00
parent 3d7ccafa76
commit 45f83322ec
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ export default {
this.questionForm[v] = '' this.questionForm[v] = ''
}, },
setFormItemData(obj) { setFormItemData(obj) {
this.$set(this.questionForm, obj.key, obj.val) this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val)))
this.classArr.map(i=>{ this.classArr.map(i=>{
if (i.triggerId === obj.key) { if (i.triggerId === obj.key) {
let answer = null let answer = null

View File

@ -326,7 +326,7 @@ export default {
this.questionForm[v] = null this.questionForm[v] = null
}, },
setFormItemData(obj) { setFormItemData(obj) {
this.$set(this.questionForm, obj.key, obj.val) this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val)))
this.classArr.map(i => { this.classArr.map(i => {
if (i.triggerId === obj.key) { if (i.triggerId === obj.key) {
let answer = null let answer = null