ry-vue-map 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD CHANGED
@@ -1,5 +1,5 @@
1
1
  # ryvuemap
2
- ![ryui-version](https://img.shields.io/badge/ryvuemap-0.3.7-green)
2
+ ![ryui-version](https://img.shields.io/badge/ryvuemap-0.3.8-green)
3
3
  > ry公共组件库
4
4
 
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ry-vue-map",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "private": false,
5
5
  "main": "lib/ryui.umd.min.js",
6
6
  "description": "ry公共组件库",
@@ -138,6 +138,12 @@
138
138
  color,
139
139
  lineDash
140
140
  });
141
+ this.$emit('load', {
142
+ map,
143
+ mapServices:this.lMap,
144
+ ryMapTool: this.$refs.mapTool
145
+ });
146
+
141
147
  }
142
148
  });
143
149
  },
@@ -138,13 +138,11 @@
138
138
  methods: {
139
139
  onShowPaly(b) {
140
140
  this.isShowPaly = b;
141
-
142
141
  },
143
142
  load(obj) {
143
+ console.log(obj);
144
144
  this.lMap = obj.mapServices;
145
145
  this.map = obj.map;
146
- console.log(this.lMap);
147
-
148
146
  },
149
147
  drawSuccess(obj) {
150
148
  this.polygonModel = {