tx-sider 2.1.66 → 2.1.67

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/lib/TXUI.mjs CHANGED
@@ -30084,9 +30084,20 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
30084
30084
  },
30085
30085
  emits: ["cancelHandle", "update:show"],
30086
30086
  setup(__props, { emit }) {
30087
+ const props2 = __props;
30088
+ const inputV = computed({
30089
+ get() {
30090
+ return props2.show;
30091
+ },
30092
+ set(value) {
30093
+ emit("update:show", value);
30094
+ emit("cancelHandle", value);
30095
+ }
30096
+ });
30087
30097
  function cancel() {
30088
30098
  console.log("11111111111111111111111111");
30089
30099
  emit("update:show", false);
30100
+ emit("cancelHandle", false);
30090
30101
  }
30091
30102
  return (_ctx, _cache) => {
30092
30103
  const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
@@ -30096,8 +30107,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
30096
30107
  __props.removePadding ? "" : "not-padding",
30097
30108
  "module-class modal-components"
30098
30109
  ],
30099
- visible: __props.show,
30100
- "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(show) ? show.value = $event : null),
30110
+ visible: unref(inputV),
30111
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
30101
30112
  onCancel: cancel,
30102
30113
  destroyOnClose: "",
30103
30114
  footer: null
@@ -41617,7 +41628,7 @@ function useCcflowCall() {
41617
41628
  });
41618
41629
  connection.value.on("PublishNewVersion", (res) => {
41619
41630
  console.log("PublishNewVersion", "获取数据:", res);
41620
- ccflowData.newVersionList = JSON.parse(res);
41631
+ ccflowData.newVersionList = res;
41621
41632
  });
41622
41633
  connection.value.onreconnected(async (id) => {
41623
41634
  var _a, _b;