3h1-ui 3.0.0-next.42 → 3.0.0-next.43
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/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -37270,7 +37270,7 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
|
|
|
37270
37270
|
}
|
|
37271
37271
|
function getResult(columns) {
|
|
37272
37272
|
return unref(plainOptions).map((col) => {
|
|
37273
|
-
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ?
|
|
37273
|
+
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ? c.defaultHidden : false)) !== -1;
|
|
37274
37274
|
return {
|
|
37275
37275
|
dataIndex: col.value,
|
|
37276
37276
|
fixed: col.fixed,
|
package/lib/index.js
CHANGED
|
@@ -37294,7 +37294,7 @@ const ShyTableColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
37294
37294
|
}
|
|
37295
37295
|
function getResult(columns) {
|
|
37296
37296
|
return vue.unref(plainOptions).map((col) => {
|
|
37297
|
-
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ?
|
|
37297
|
+
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ? c.defaultHidden : false)) !== -1;
|
|
37298
37298
|
return {
|
|
37299
37299
|
dataIndex: col.value,
|
|
37300
37300
|
fixed: col.fixed,
|