@ftjs/core 0.5.5 → 0.5.7
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/dist/index.js +1 -2
- package/package.json +2 -3
package/dist/index.js
CHANGED
|
@@ -105,8 +105,7 @@ const useColumnsChecked = (columns, cache) => {
|
|
|
105
105
|
const storageKey = `ftjs-form-columns-checked-obj`;
|
|
106
106
|
const columnsV = computed(() => {
|
|
107
107
|
const entries = columns.value.map((e) => {
|
|
108
|
-
|
|
109
|
-
const field = e.field ?? ((_a = e.fields) == null ? void 0 : _a[0]);
|
|
108
|
+
const field = getField(e);
|
|
110
109
|
return [field, !toValue(e.hide)];
|
|
111
110
|
});
|
|
112
111
|
return Object.fromEntries(entries);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ftjs/core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"build": "vite build",
|
|
39
39
|
"minify": "pnpm dlx esbuild ./dist/index.js --minify --outfile=./dist/index.min.js",
|
|
40
40
|
"test": "vitest --typecheck",
|
|
41
|
-
"test:coverage": "vitest run --coverage"
|
|
42
|
-
"pub": "tsx ../../scripts/publish.ts"
|
|
41
|
+
"test:coverage": "vitest run --coverage"
|
|
43
42
|
}
|
|
44
43
|
}
|