Commit 533a6d3d authored by 罗超's avatar 罗超

2

parent 585ca345
<template>
<div class="page-body">
<iframe :src="url" class="coffee" frameborder="0"></iframe>
</div>
</template>
<script>
export default {
data() {
return {
token:"",
url:`http://127.0.0.1:8080/#/coffeeManage/index?token=${this.token}`
}
},
mounted(){
let userinfo=JSON.parse(localStorage.getItem('loginUserInfo')).data
this.token=userinfo.MallToken
console.log(this.token,17,this.url)
}
}
</script>
<style>
.coffee{
width: 100%;
height: calc(100vh - 120px);
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment