|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <web-view :src="webViewSrc" @message="getMSG"></web-view>
|
|
|
+ <web-view cache="no-cache" :src="webViewSrc" @message="getMSG"></web-view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -11,13 +11,13 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
- this.init(options)
|
|
|
+ this.init(options)
|
|
|
},
|
|
|
methods: {
|
|
|
init(options){
|
|
|
- let t=new Date().getTime()
|
|
|
+ let t=new Date().getTime();
|
|
|
if(options.type==='scan'){
|
|
|
- let href="http://h5.xazhyc.com/scanApp/#/pages/index/index"
|
|
|
+ let href="http://h5.xazhyc.com/scanApp"
|
|
|
let qrcode=uni.getStorageSync('qrcode')
|
|
|
qrcode=qrcode.split('?')[1]
|
|
|
this.webViewSrc=`${href}?token=${getToken()}&${qrcode}&v=${t}`
|