Commit ea8dd589 by 李伟康

commit

1 parent 8414d0b8
......@@ -10,11 +10,12 @@ export default {
return {}
},
mounted() {
let _this = this
let params = this.getParams()
window.ImagePreview = ImagePreview({
ImagePreview({
...params,
onClose() {
if(window.vm.$route.name == 'attractCustomer.detail') window.vm.$router.back(-1)
if(_this.$route.name == 'attractCustomer.detail') _this.$router.back(-1)
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!