You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
872 B

// 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);
}
},
}
};