@dolphinweex/weex-harmony 0.1.37 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div v-on="filteredListeners"
3
- @touchstart="handleTouchStart"
4
- @touchmove="handleTouchMove"
5
- @touchend="handleTouchEnd">
3
+ @touchstart="!this.isRemove ? handleTouchStart : null"
4
+ @touchmove="!this.isRemove ? handleTouchMove : null"
5
+ @touchend="!this.isRemove ? handleTouchEnd : null">
6
6
  <embed
7
7
  ref="embedElement"
8
8
  :id="embedId"
@@ -41,7 +41,12 @@ export default {
41
41
  type: Array,
42
42
  required: false,
43
43
  default: () => [],
44
- }
44
+ },
45
+ isRemove: {
46
+ type: Boolean,
47
+ required: false,
48
+ default: false,
49
+ },
45
50
  },
46
51
  data() {
47
52
  return {
@@ -42,6 +42,7 @@ export default {
42
42
  width: this.width,
43
43
  height: this.height,
44
44
  data: this.data,
45
+ handleOnLineDrag: this.handleOnLineDrag
45
46
  };
46
47
  },
47
48
  },
@@ -51,6 +52,9 @@ export default {
51
52
  },
52
53
 
53
54
  methods: {
55
+ handleOnLineDrag(res) {
56
+ this.$emit('onLineDrag', res);
57
+ },
54
58
  },
55
59
  };
56
60
  </script>
@@ -4,6 +4,7 @@
4
4
  embedType="native/midea-map-view"
5
5
  :defaultWidth="300"
6
6
  :defaultHeight="300"
7
+ :isRemove="true"
7
8
  >
8
9
  </BaseSameLayer>
9
10
  </template>
package/src/.DS_Store DELETED
Binary file
Binary file