123456789101112131415161718192021222324 |
- <template>
- <view>
- <web-view v-if="webviewUrl" :src="webviewUrl"></web-view>
- </view>
- </template>
- <script>
- import config from '@/config';
- export default {
- data() {
- return {
- webviewUrl: ''
- }
- },
- onLoad(body) {
- this.webviewUrl = config.webviewUrl + '/index?token=' + uni.getStorageSync('shopMobileToken');
- },
- methods: {}
- }
- </script>
- <style>
- </style>
|