Browse Source

BUG修复

1、积木报表版本升级
master_hella_20240701
bjang03 6 months ago
parent
commit
d61bdce3e8
  1. 4
      src/views/wms/reportList/index.vue

4
src/views/wms/reportList/index.vue

@ -6,9 +6,11 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { getAccessToken } from '@/utils/auth'
// const url = ref('http://localhost:12080/jmreport/view/881686740529258496') // const url = ref('http://localhost:12080/jmreport/view/881686740529258496')
const route = useRoute() // const route = useRoute() //
debugger
const str = route.path.split('/')[3] const str = route.path.split('/')[3]
const url = ref(import.meta.env.VITE_JMREPORT_BASE_URL + '/jmreport/view/'+ str) const url = ref(import.meta.env.VITE_JMREPORT_BASE_URL + '/jmreport/view/'+ str+ '?token='+ getAccessToken())
console.log(url); console.log(url);
</script> </script>

Loading…
Cancel
Save