iv-npm 1.0.15 → 1.0.16

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": "iv-npm",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -139,8 +139,11 @@ var script = /*#__PURE__*/vue.defineComponent({
139
139
  key: "id",
140
140
  value: "id"
141
141
  });
142
- var dataV = tranListToTreeData(props.data);
143
- console.log(dataV, "npm-------------------------------dataV");
142
+ var dataV = vue.computed(function () {
143
+ console.log(props.data, "npm-------------------------------props.data,");
144
+ console.log(dataV, "npm-------------------------------dataV");
145
+ return tranListToTreeData(props.data);
146
+ });
144
147
  var inputV = vue.computed({
145
148
  get: function get() {
146
149
  return props.value;
@@ -135,8 +135,11 @@ var script = /*#__PURE__*/defineComponent({
135
135
  key: "id",
136
136
  value: "id"
137
137
  });
138
- var dataV = tranListToTreeData(props.data);
139
- console.log(dataV, "npm-------------------------------dataV");
138
+ var dataV = computed(function () {
139
+ console.log(props.data, "npm-------------------------------props.data,");
140
+ console.log(dataV, "npm-------------------------------dataV");
141
+ return tranListToTreeData(props.data);
142
+ });
140
143
  var inputV = computed({
141
144
  get: function get() {
142
145
  return props.value;