no message
This commit is contained in:
parent
1d0d54e445
commit
bc299037e5
2
dist/index.html
vendored
2
dist/index.html
vendored
File diff suppressed because one or more lines are too long
1
dist/js/app~42f9d7e6.5d7dc3b0.js
vendored
1
dist/js/app~42f9d7e6.5d7dc3b0.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/app~42f9d7e6.9764086e.js
vendored
Normal file
1
dist/js/app~42f9d7e6.9764086e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script src="./utils/jweixin-1.3.2.js"></script>
|
||||
<script src="../public/js/jweixin-1.3.2.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
@ -142,9 +142,14 @@ router.beforeEach(async (to, from, next) => {
|
||||
if (typeof wx !== "undefined") {
|
||||
console.log("to.fullPath", to.fullPath)
|
||||
|
||||
wx.miniProgram.postMessage({
|
||||
data: to.fullPath,
|
||||
})
|
||||
setTimeout(() => {
|
||||
wx.miniProgram.postMessage({
|
||||
data: location.href,
|
||||
})
|
||||
}, 200)
|
||||
// wx.miniProgram.postMessage({
|
||||
// data: to.fullPath,
|
||||
// })
|
||||
}
|
||||
|
||||
next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user