封装看板跳转页面
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<my-header></my-header>
|
||||
<view>
|
||||
<web-view :src="url"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MyHeader from '@/components/MyHeader.vue'
|
||||
export default {
|
||||
components: {
|
||||
MyHeader
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
url: ''
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.url = options.url
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user