提交 571d1e68 编写于 作者: Q qiang

fix: 解决安卓微信内置浏览器查看位置页面“去这里”按钮点击无效的问题,及跳转页面后回退到查看位置页面不显示位置信息的问题

上级 a5cbcd41
......@@ -17,7 +17,7 @@ export function openLocation ({
getApp().$router.push({
type: 'navigateTo',
path: '/open-location',
params: {
query: {
latitude,
longitude,
scale,
......
......@@ -6,7 +6,7 @@
ref="map"
:src="src"
allow="geolocation"
sandbox="allow-scripts allow-same-origin allow-forms"
sandbox="allow-scripts allow-same-origin allow-forms allow-top-navigation allow-modals allow-popups"
frameborder="0"
@load="_load" />
<!-- 去这里 -->
......@@ -36,7 +36,7 @@ export default {
scale,
name,
address
} = this.$route.params
} = this.$route.query
return {
latitude,
longitude,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册