提交 b913f212 编写于 作者: d-u-a's avatar d-u-a

update:修改map组件key

上级 d869270c
<template>
<uni-map :id="id">
<div
ref="map"
<div
ref="map"
style="width: 100%; height: 100%; position: relative; overflow: hidden;" />
<div style="position: absolute; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none;">
<slot />
......@@ -790,7 +790,7 @@ export default {
maps = window.qq.maps
callback()
} else {
let key = 'JMRBZ-R4HCD-X674O-PXLN4-B7CLH-42BSB'
let key = 'XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2'
let callbackName = '_callback' + Date.now()
window[callbackName] = function () {
delete window[callbackName]
......@@ -904,4 +904,4 @@ export default {
uni-map[hidden] {
display: none;
}
</style>
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册