12345678910111213141516171819 |
- <template>
- <web-view :src="url"></web-view>
- </template>
- <script>
- 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>
|