@tripup-company/element-ui-extended 0.0.32 → 0.0.33

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": "@tripup-company/element-ui-extended",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "main": "./dist/element-ui-extended.umd.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -28,7 +28,8 @@
28
28
  </template>
29
29
 
30
30
  <script>
31
-
31
+ import lodash from "lodash";
32
+ const _ = lodash;
32
33
  export default {
33
34
  name: 'NewField',
34
35
  props: {
@@ -91,7 +92,7 @@ export default {
91
92
  return {
92
93
  loading: false,
93
94
  selectListLocal: [],
94
- dataModel: window._.cloneDeep(this.value),
95
+ dataModel: _.cloneDeep(this.value),
95
96
  };
96
97
  },
97
98
  computed: {
@@ -114,7 +115,7 @@ export default {
114
115
  this.$emit('editable:save', { 'field': this.field, 'value': this.dataModel });
115
116
  },
116
117
  value: function() {
117
- this.dataModel = this._.cloneDeep(this.value);
118
+ this.dataModel = _.cloneDeep(this.value);
118
119
  },
119
120
  },
120
121
  mounted() {
@@ -36,7 +36,8 @@
36
36
  import Vue from 'vue';
37
37
  import getResolution from '../../services/resolutions';
38
38
  import NewField from '../NewField';
39
-
39
+ import lodash from "lodash";
40
+ const _ = lodash;
40
41
  export default {
41
42
  name: 'PartColumnNew',
42
43
  components: { NewField },
@@ -85,7 +86,7 @@ export default {
85
86
  },
86
87
  watch: {
87
88
  data: function() {
88
- this.dataModel = window._.cloneDeep(this.data);
89
+ this.dataModel = _.cloneDeep(this.data);
89
90
  },
90
91
  },
91
92
  methods: {