@witlink/usercenter 1.2.30 → 1.2.31

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.
@@ -2872,14 +2872,13 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2872
2872
  ]),
2873
2873
  default: withCtx(() => [
2874
2874
  createVNode(_component_uc_btn_edit, {
2875
- onClick: ($event) => onUpdate(record),
2876
- type: "b",
2875
+ type: "bt4",
2877
2876
  style: { "color": "rgba(0, 0, 0, 0.25)" },
2878
2877
  disabled: ""
2879
- }, null, 8, ["onClick"])
2878
+ })
2880
2879
  ]),
2881
- _: 2
2882
- }, 1024),
2880
+ _: 1
2881
+ }),
2883
2882
  createVNode(_component_a_divider, { type: "vertical" }),
2884
2883
  createVNode(_component_a_tooltip, { placement: "top" }, {
2885
2884
  title: withCtx(() => [
@@ -12916,7 +12915,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
12916
12915
  key: 7,
12917
12916
  class: normalizeClass(["edit", { disabled: __props.disabled }]),
12918
12917
  style: { "width": "17px", "height": "17px" }
12919
- }, null, 2)) : createCommentVNode("v-if", true)
12918
+ }, null, 2)) : createCommentVNode("v-if", true),
12919
+ __props.type == "bt4" ? (openBlock(), createBlock(_component_a_button, {
12920
+ key: 8,
12921
+ disabled: __props.disabled,
12922
+ type: "link"
12923
+ }, {
12924
+ default: withCtx(() => [
12925
+ createTextVNode(toDisplayString(!__props.text ? _ctx.$t("button._003") : __props.text), 1)
12926
+ ]),
12927
+ _: 1
12928
+ }, 8, ["disabled"])) : createCommentVNode("v-if", true)
12920
12929
  ])) : createCommentVNode("v-if", true);
12921
12930
  };
12922
12931
  }