...
|
...
|
@@ -48,6 +48,15 @@ export default { |
|
|
() => myImport('views/dp/components/deduction/index')
|
|
|
),
|
|
|
},
|
|
|
setup(props, {attrs, slots, emit}) {
|
|
|
const {proxy} = Vue.getCurrentInstance();
|
|
|
const goDP=()=>{
|
|
|
proxy.$router.push({path:'/zjdaping',query: {access_token:localStorage.getItem('access_token')}})
|
|
|
}
|
|
|
return{
|
|
|
goDP
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
titleFontSize: 30,
|
...
|
...
|
@@ -119,7 +128,11 @@ export default { |
|
|
},1000);
|
|
|
|
|
|
window.addEventListener('resize', this.screenAdapter)
|
|
|
this.screenAdapter()
|
|
|
this.screenAdapter();
|
|
|
|
|
|
if (this.$route.query.msgKey){
|
|
|
document.getElementById("goDP").style.display="block"
|
|
|
}
|
|
|
},
|
|
|
unmounted () {
|
|
|
window.removeEventListener('resize', this.screenAdapter)
|
...
|
...
|
|