diff --git a/src/components/ebiz/sale/IndexBar.vue b/src/components/ebiz/sale/IndexBar.vue index 563ea231a..652df2df6 100644 --- a/src/components/ebiz/sale/IndexBar.vue +++ b/src/components/ebiz/sale/IndexBar.vue @@ -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 +} + }, }