|
@ -9,6 +9,6 @@ |
|
|
// const url = ref('http://localhost:12080/jmreport/view/881686740529258496') |
|
|
// const url = ref('http://localhost:12080/jmreport/view/881686740529258496') |
|
|
const route = useRoute() // 路由对象 |
|
|
const route = useRoute() // 路由对象 |
|
|
const str = route.path.split('/')[3] |
|
|
const str = route.path.split('/')[3] |
|
|
const url = ref(import.meta.env.VITE_BASE_URL + '/jmreport/view/'+ str) |
|
|
const url = ref(import.meta.env.VITE_JMREPORT_BASE_URL + '/jmreport/view/'+ str) |
|
|
console.log(url); |
|
|
console.log(url); |
|
|
</script> |
|
|
</script> |
|
|