This commit is contained in:
jiawei
2023-02-22 15:27:58 +08:00
parent 6c71c73e0d
commit 8235243be5
2 changed files with 14 additions and 2 deletions

View File

@@ -240,7 +240,19 @@ export default {
this.$el.querySelector('#active').scrollIntoView(true)
})
}
}
},
computed:{
isupdateAnswerType(){
return this.$store.state.updateAnswerType
}
},
watch: {
isupdateAnswerType(newVal,oldVal){
console.log(newVal,'newVal');
console.log(oldVal,'oldVal');
this.$store.state.updateAnswerType = newVal
}
},
}
</script>
<style lang="scss" scoped>