bm-admin-ui 1.2.54-alpha → 1.2.55-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.
|
@@ -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}`;
|
|
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}
|
|
702
|
+
return had?.title ? `${had.title}` : had;
|
|
703
703
|
}
|
|
704
704
|
function deleteOptions(key) {
|
|
705
705
|
if (props.mode === MODE.MULTIPLE) {
|
|
@@ -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}`;
|
|
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}
|
|
706
|
+
return had?.title ? `${had.title}` : had;
|
|
707
707
|
}
|
|
708
708
|
function deleteOptions(key) {
|
|
709
709
|
if (props.mode === MODE.MULTIPLE) {
|