yxuse 3.0.48 → 3.0.50

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/index.es6.js CHANGED
@@ -20548,11 +20548,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20548
20548
  "class": `flex justify-center items-center cursor-pointer gap-10 ${(_b = (_a = cell.config) == null ? void 0 : _a.className) != null ? _b : ""}`
20549
20549
  }, [(_c = cell.operate) == null ? void 0 : _c.filter((op) => !op.show || op.show(scope.row)).map((op) => {
20550
20550
  var _a2;
20551
- if (op == null ? void 0 : op.render) return op.render(scope.row);
20551
+ if (op == null ? void 0 : op.render) return op.render(scope.row, scope.$index);
20552
20552
  return createVNode("span", {
20553
20553
  "onClick": withModifiers(() => {
20554
20554
  (op == null ? void 0 : op.onClick) && (op == null ? void 0 : op.onClick(scope.row));
20555
- emit("operate-handle", op.key, scope.row);
20555
+ emit("operate-handle", op.key, scope.row, scope.$index);
20556
20556
  }, ["stop"]),
20557
20557
  "class": `table-handle whitespace-nowrap ${(_a2 = op == null ? void 0 : op.className) != null ? _a2 : ""}`
20558
20558
  }, [op.label]);
@@ -21127,6 +21127,10 @@ const _sfc_main = {
21127
21127
  showTitle: {
21128
21128
  type: Boolean,
21129
21129
  default: false
21130
+ },
21131
+ logoCanJump: {
21132
+ type: Boolean,
21133
+ default: true
21130
21134
  }
21131
21135
  },
21132
21136
  data() {
@@ -21176,7 +21180,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
21176
21180
  }, toDisplayString((_d = $data.customConfig) == null ? void 0 : _d.title), 5)) : createCommentVNode("", true)
21177
21181
  ], 2);
21178
21182
  }
21179
- const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e80488a8"]]);
21183
+ const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-376fc0fb"]]);
21180
21184
  class LogoTitleRender {
21181
21185
  constructor(props, domId = "system-logo-title") {
21182
21186
  this.render(props, domId);
Binary file