// src/mixins/myMixin.js export default { data() { return { } }, created() { }, methods: { sendBack() { if (localStorage.getItem('ismypaginationTow')) { let formInline = JSON.parse(localStorage.getItem('ismypaginationTow')) formInline.isfanhuiTow = true localStorage.setItem("ismypaginationTow", JSON.stringify(formInline)) } console.log(); if (this.$route.query.istijiaoshow) { this.$router.push({ name: 'TaskInfo', query: { // pageType: "look", id: this.$route.query.taskId, assetId: this.$route.query.lookassetId, lookassetId: this.$route.query.lookassetId, pageType: this.$route.query.pageTypetow, istijiaoshow: true } }) } else { this.$router.go(-1); } }, } };