gi-component 0.0.47 → 0.0.48

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.es.js CHANGED
@@ -692,7 +692,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
692
692
  return { ...attrs, ...props, ...btnProps };
693
693
  });
694
694
  const btnText = computed(() => {
695
- return obj[props.type].btnText;
695
+ var _a;
696
+ return ((_a = obj == null ? void 0 : obj[props.type]) == null ? void 0 : _a.btnText) || "";
696
697
  });
697
698
  return (_ctx, _cache) => {
698
699
  return openBlock(), createBlock(unref(ElButton), mergeProps({