Commit 808ab476 by 胡悦

修改新增特约店里的设置围栏

1 parent b30ea4fa
......@@ -197,10 +197,11 @@ export default{
function ContextMenu(map) {
var me = this;
this.contextMenuPositon = null;
const click = window.proxy ? `window.proxy.mapMenu`: `mapMenu`
this.contextMenu = new AMap.ContextMenu({
isCustom: true,
content: `<div class="context_menu" >
<p onclick="mapMenu.moveCenter()"><span>设置围栏中心</span></p>
<p onclick="${click}.moveCenter()"><span>设置围栏中心</span></p>
</div>`
});
map.on('rightclick', (e)=> {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!