@base-web-kits/base-tools-ts 1.3.12 → 1.3.13
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.
|
@@ -5835,7 +5835,7 @@ var baseToolsTS = (() => {
|
|
|
5835
5835
|
if (!option && option !== 0) return "";
|
|
5836
5836
|
if (option === true) return type;
|
|
5837
5837
|
if (typeof option === "number" || typeof option === "string") return `${type},${option}`;
|
|
5838
|
-
const segs = Object.entries(option).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5838
|
+
const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5839
5839
|
return segs ? `${type},${segs}` : "";
|
|
5840
5840
|
}
|
|
5841
5841
|
function getWatermark(w) {
|