This commit is contained in:
jiawei
2023-02-22 15:27:58 +08:00
parent 8420a92928
commit 5034f38316
2 changed files with 14 additions and 2 deletions

View File

@@ -240,7 +240,19 @@ export default {
this.$el.querySelector('#active').scrollIntoView(true) 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> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -191,7 +191,7 @@ export default {
} }
}, },
async created() { async created() {
this.$store.commit('updateAnswerType', false ) // this.$store.commit('updateAnswerType', false )
let res= await getOrderDetail({ orderNo: localStorage.orderNo }) let res= await getOrderDetail({ orderNo: localStorage.orderNo })
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => { // getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
if (res.result == 0) { if (res.result == 0) {