bm-admin-ui 1.2.56-alpha → 1.2.57-alpha
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.
|
@@ -556,7 +556,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
556
556
|
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
557
557
|
createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
558
558
|
description: withCtx(() => [
|
|
559
|
-
createElementVNode("span", _hoisted_8, toDisplayString(!!_ctx.searched ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\
|
|
559
|
+
createElementVNode("span", _hoisted_8, toDisplayString(!!_ctx.searched ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u90E8\u95E8\u5173\u952E\u8BCD"), 1)
|
|
560
560
|
]),
|
|
561
561
|
_: 1
|
|
562
562
|
}, 8, ["image"])
|
|
@@ -693,13 +693,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
693
693
|
function getOptionName(key) {
|
|
694
694
|
let data = selectState.dataMap.get(String(key));
|
|
695
695
|
if (data && data.title)
|
|
696
|
-
return `${data.title}`;
|
|
696
|
+
return `${data.title}${data.key ? `(${data.key})` : ""}${data.description ? `-(${data.description})` : ""}`;
|
|
697
697
|
let arr = props.select;
|
|
698
698
|
arr = arr.length ? arr : [];
|
|
699
699
|
let had = arr.find(
|
|
700
700
|
(item) => String(item) === String(key) || String(item?.key) === String(key)
|
|
701
701
|
);
|
|
702
|
-
return had?.title ? `${had.title}` : had;
|
|
702
|
+
return had?.title ? `${had.title}${had.key ? `(${had.key})` : ""}${had.description ? `-(${had.description})` : ""}` : had;
|
|
703
703
|
}
|
|
704
704
|
function findParentNode(tree, targetId, parent = null) {
|
|
705
705
|
for (const node of tree) {
|
|
@@ -560,7 +560,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
560
560
|
_ctx.list && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
561
561
|
vue.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
562
562
|
description: vue.withCtx(() => [
|
|
563
|
-
vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(!!_ctx.searched ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\
|
|
563
|
+
vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(!!_ctx.searched ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u90E8\u95E8\u5173\u952E\u8BCD"), 1)
|
|
564
564
|
]),
|
|
565
565
|
_: 1
|
|
566
566
|
}, 8, ["image"])
|
|
@@ -697,13 +697,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
697
697
|
function getOptionName(key) {
|
|
698
698
|
let data = selectState.dataMap.get(String(key));
|
|
699
699
|
if (data && data.title)
|
|
700
|
-
return `${data.title}`;
|
|
700
|
+
return `${data.title}${data.key ? `(${data.key})` : ""}${data.description ? `-(${data.description})` : ""}`;
|
|
701
701
|
let arr = props.select;
|
|
702
702
|
arr = arr.length ? arr : [];
|
|
703
703
|
let had = arr.find(
|
|
704
704
|
(item) => String(item) === String(key) || String(item?.key) === String(key)
|
|
705
705
|
);
|
|
706
|
-
return had?.title ? `${had.title}` : had;
|
|
706
|
+
return had?.title ? `${had.title}${had.key ? `(${had.key})` : ""}${had.description ? `-(${had.description})` : ""}` : had;
|
|
707
707
|
}
|
|
708
708
|
function findParentNode(tree, targetId, parent = null) {
|
|
709
709
|
for (const node of tree) {
|