mooho-base-admin-plus 0.4.30 → 0.4.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.
|
@@ -48370,12 +48370,12 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
48370
48370
|
key: 1,
|
|
48371
48371
|
class: normalizeClass(["i-layout-menu-side-title-text", {
|
|
48372
48372
|
"i-layout-menu-side-title-text-selected": $props.selected,
|
|
48373
|
-
"i-layout-menu-side-title-text-with-subtitle": $props.menu.subtitle,
|
|
48373
|
+
"i-layout-menu-side-title-text-with-subtitle": !!($props.menu.subtitle || "").trim(),
|
|
48374
48374
|
"i-layout-menu-side-title-text-with-icon": $options.withIcon
|
|
48375
48375
|
}])
|
|
48376
48376
|
}, [
|
|
48377
48377
|
createTextVNode(toDisplayString$1(this.layout.showI18n ? this.$t("Permission_" + $props.menu.code) : $props.menu.title) + " ", 1),
|
|
48378
|
-
$props.menu.subtitle ? (openBlock(), createElementBlock("em", _hoisted_2$8, toDisplayString$1(this.layout.showI18n ? this.$t("Permission_" + $props.menu.code + "_SubName") : $props.menu.subTitle), 1)) : createCommentVNode("", true)
|
|
48378
|
+
!!($props.menu.subtitle || "").trim() ? (openBlock(), createElementBlock("em", _hoisted_2$8, toDisplayString$1(this.layout.showI18n ? this.$t("Permission_" + $props.menu.code + "_SubName") : $props.menu.subTitle), 1)) : createCommentVNode("", true)
|
|
48379
48379
|
], 2)) : createCommentVNode("", true)
|
|
48380
48380
|
], 2);
|
|
48381
48381
|
}
|