yxuse 3.0.46 → 3.0.47

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
@@ -21121,7 +21121,7 @@ const _sfc_main = {
21121
21121
  },
21122
21122
  showTitle: {
21123
21123
  type: Boolean,
21124
- default: true
21124
+ default: false
21125
21125
  }
21126
21126
  },
21127
21127
  data() {
@@ -21171,20 +21171,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
21171
21171
  }, toDisplayString((_d = $data.customConfig) == null ? void 0 : _d.title), 5)) : createCommentVNode("", true)
21172
21172
  ], 2);
21173
21173
  }
21174
- const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-58f15867"]]);
21174
+ const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e80488a8"]]);
21175
21175
  class LogoTitleRender {
21176
- constructor(domId = "system-logo-title") {
21177
- this.render(domId);
21176
+ constructor(props, domId = "system-logo-title") {
21177
+ this.render(props, domId);
21178
21178
  }
21179
21179
  get vueVersion() {
21180
21180
  return version[0];
21181
21181
  }
21182
- render(domId) {
21182
+ render(props, domId) {
21183
21183
  if (this.vueVersion === "3") {
21184
- createApp(LogoTitle).mount(`#${domId}`);
21184
+ createApp(LogoTitle, props).mount(`#${domId}`);
21185
21185
  } else {
21186
21186
  const Vue = require("vue");
21187
- return new Vue({ render: (h) => h(LogoTitle) }).$mount(`#${domId}`);
21187
+ return new Vue({ render: (h) => h(LogoTitle, { props }) }).$mount(`#${domId}`);
21188
21188
  }
21189
21189
  }
21190
21190
  }
Binary file