@ebiz/designer-components 0.0.23 → 0.0.24

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/dist/index.mjs CHANGED
@@ -116763,7 +116763,7 @@ const Pa = {
116763
116763
  }, h = (g, w) => {
116764
116764
  l("blur", g, w);
116765
116765
  }, m = (g, w) => {
116766
- l("update:modelValue", g), l("change", g, w);
116766
+ l("update:modelValue", g), l("change", g, w, u.value);
116767
116767
  };
116768
116768
  return yt(async () => {
116769
116769
  if (o.value.apiId && o.value.apiType >= 0) {
@@ -116823,7 +116823,7 @@ const Pa = {
116823
116823
  } : void 0
116824
116824
  ]), 1032, ["modelValue", "options", "loading", "multiple", "placeholder", "clearable", "disabled", "size", "empty", "popupProps"]));
116825
116825
  }
116826
- }), k2t = /* @__PURE__ */ Ot(Qbt, [["__scopeId", "data-v-8fbae799"]]);
116826
+ }), k2t = /* @__PURE__ */ Ot(Qbt, [["__scopeId", "data-v-15c3bdd6"]]);
116827
116827
  function yg(e) {
116828
116828
  return Object.prototype.toString.call(e) === "[object Array]";
116829
116829
  }
@@ -127088,7 +127088,7 @@ const tkt = /* @__PURE__ */ Ot(pCt, [["render", hCt], ["__scopeId", "data-v-d22a
127088
127088
  get: () => n.modelValue,
127089
127089
  set: (d) => r("update:modelValue", d)
127090
127090
  }), s = (d, f) => {
127091
- r("change", d, f);
127091
+ console.log(d, f.node.data), r("change", d, f);
127092
127092
  }, u = (d, f = null) => d.filter((v) => v.manager_dept === f).map((v) => {
127093
127093
  const p = u(d, v.id);
127094
127094
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebiz/designer-components",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -82,6 +82,7 @@ const selectedValue = computed({
82
82
 
83
83
  // 处理变更事件
84
84
  const handleChange = (value, context) => {
85
+ console.log(value, context.node.data);
85
86
  emit('change', value, context);
86
87
  };
87
88
 
@@ -194,7 +194,7 @@ const handleBlur = (value, context) => {
194
194
  // 值变化处理函数
195
195
  const handleChange = (value, context) => {
196
196
  emit('update:modelValue', value);
197
- emit('change', value, context);
197
+ emit('change', value, context, options.value);
198
198
  };
199
199
 
200
200
  // 组件挂载时,如果有默认值则加载对应的选项