12345678910111213141516171819202122232425262728 |
- <template>
- <view>
- <web-view :src="url"></web-view>
- </view>
- </template>
- <script>
- import { config, getUrl } from '@/api/api.js'
- export default {
- data() {
- return {
- url: ''
- }
- },
- onLoad() {
- getUrl({appId: config.appid}).then(res => {
- this.url = res.data
- })
- },
- methods: {
-
- }
- }
- </script>
- <style>
- </style>
|