Commit 87d6f66b authored by 邓晓峰's avatar 邓晓峰

feat: 添加地图初始化监听

parent 0bedc6a0
Pipeline #47231 skipped with stages
...@@ -6,6 +6,10 @@ import { store } from 'microser-data'; ...@@ -6,6 +6,10 @@ import { store } from 'microser-data';
const AMap = (props) => { const AMap = (props) => {
const getMap = (obj, current) => { const getMap = (obj, current) => {
store.set('amapView', {
Amap:obj,
map:current
})
props.updageAMapView({ props.updageAMapView({
Amap:obj, Amap:obj,
map:current map:current
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment