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