|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="pc-page">
|
|
<view class="pc-page">
|
|
- <web-view :src="url" @message="handleGetMessage"/>
|
|
|
|
|
|
+ <web-view :src="url" @message="handleGetMessage" v-if="url"/>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -14,7 +14,7 @@ export default {
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
url:'',
|
|
url:'',
|
|
- msgObj:{},//{path:小程序页面地址,params:页面参数,title:分享的标题}
|
|
|
|
|
|
+ msgObj:{},//{path:小程序页面地址,params:页面参数,title:分享的标题,shareImg:分享的图片}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|