mooho-base-admin-plus 2.10.18 → 2.10.19
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/history.md
CHANGED
|
@@ -33444,17 +33444,19 @@ const columnEdit = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_ren
|
|
|
33444
33444
|
},
|
|
33445
33445
|
// 获取标签颜色
|
|
33446
33446
|
getTagColor(a, r) {
|
|
33447
|
-
let o =
|
|
33447
|
+
let o = "default";
|
|
33448
|
+
if (r == null)
|
|
33449
|
+
return o;
|
|
33450
|
+
let s = [];
|
|
33448
33451
|
if (a.param)
|
|
33449
33452
|
try {
|
|
33450
|
-
|
|
33453
|
+
s = JSON.parse(a.param);
|
|
33451
33454
|
} catch (l) {
|
|
33452
33455
|
console.log(l);
|
|
33453
33456
|
}
|
|
33454
|
-
|
|
33455
|
-
|
|
33456
|
-
|
|
33457
|
-
}), s;
|
|
33457
|
+
return s.forEach((l) => {
|
|
33458
|
+
l.value.split(",").some((u) => u.trim() == r.trim()) && (o = l.color);
|
|
33459
|
+
}), o;
|
|
33458
33460
|
},
|
|
33459
33461
|
/**
|
|
33460
33462
|
* 获取默认值
|