| | |
| | | // sdk许可 |
| | | licenseServer: 'http://' + ipConfig + '/LFServer', |
| | | // 服务地址 |
| | | baseURL: 'http://183.162.245.49:8888/', |
| | | // baseURL: 'http://183.162.245.49:8888/', |
| | | // |
| | | positionBtn: [], |
| | | }; |
| | |
| | | </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) |