123456789101112131415161718192021222324 |
- <template>
- <web-view :src="url"></web-view>
- </template>
- <script>
- import {
- host
- } from "@/services/constants.js"
- const token = uni.getStorageSync('token')
- export default {
- data() {
- return {
- url: '',
- }
- },
- onLoad(options) {
- this.url = `http://120.55.44.4:8896/#/mobile/detail/${options.templateNodeId}/${options.versionId}?JWT-TOKEN=${token}`
- },
- }
- </script>
- <style>
- </style>
|