| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getToken } from "@/utils/auth"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | methods: { |
| | | showChangeIfream(res) { |
| | | |
| | | if (res.indexOf('token=') != -1) { |
| | | res = res + getToken(); |
| | | } |
| | | |
| | | this.$store.state.reporturl = res; |
| | | this.reportUrl = res; |
| | | // console.log("2", this.reportUrl) |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.reportUrl = this.$store.reporturl; |
| | | this.showChangeIfream(this.$store.reporturl) |
| | | // console.log("1", this.reportUrl) |
| | | this.$bus.$on('changeNaveUrl', (res) => { |
| | | this.showChangeIfream(res) |
| | |
| | | margin: 0; |
| | | padding: 0; |
| | | overflow: hidden; |
| | | background: #303030; |
| | | } |
| | | </style> |