@94ai/nf-table 8.0.14 → 8.0.16

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.
@@ -5581,6 +5581,9 @@ __sfc_main$1.setup = (__props, __ctx) => {
5581
5581
  newTableColumns.unshift(commonUtils.deepClone(operationItem));
5582
5582
  }
5583
5583
  }
5584
+ currentTable.value.filter((item) => item.initHidden).forEach((item) => {
5585
+ newTableColumns.push(item);
5586
+ });
5584
5587
  const columnState = {};
5585
5588
  const obj = {};
5586
5589
  newTableColumns.map((i, index2) => {
@@ -5579,6 +5579,9 @@ __sfc_main$1.setup = (__props, __ctx) => {
5579
5579
  newTableColumns.unshift(deepClone(operationItem));
5580
5580
  }
5581
5581
  }
5582
+ currentTable.value.filter((item) => item.initHidden).forEach((item) => {
5583
+ newTableColumns.push(item);
5584
+ });
5582
5585
  const columnState = {};
5583
5586
  const obj = {};
5584
5587
  newTableColumns.map((i, index2) => {
@@ -484,6 +484,9 @@ const syncTableColumnsToCookies = () => {
484
484
  newTableColumns.unshift(deepClone(operationItem))
485
485
  }
486
486
  }
487
+ currentTable.value.filter(item => item.initHidden).forEach(item => {
488
+ newTableColumns.push(item)
489
+ })
487
490
  const columnState = {}
488
491
  const obj: Record<string, any> = {}
489
492
  newTableColumns.map((i, index) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "8.0.14",
3
+ "version": "8.0.16",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,13 +14,13 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^8.0.14",
18
- "@94ai/nf-button": "^8.0.14",
19
- "@94ai/nf-drawer": "^8.0.14",
20
- "@94ai/nf-message": "^8.0.14",
21
- "@94ai/nf-search-form": "^8.0.14",
22
- "@94ai/nf-tag": "^8.0.14",
23
- "@94ai/nf-theme-chalk": "^8.0.14",
17
+ "@94ai/common-utils": "^8.0.16",
18
+ "@94ai/nf-button": "^8.0.16",
19
+ "@94ai/nf-drawer": "^8.0.16",
20
+ "@94ai/nf-message": "^8.0.16",
21
+ "@94ai/nf-search-form": "^8.0.16",
22
+ "@94ai/nf-tag": "^8.0.16",
23
+ "@94ai/nf-theme-chalk": "^8.0.16",
24
24
  "idb-keyval": "^6.2.1",
25
25
  "vue-demi": "^0.14.5",
26
26
  "vue-router": "3.6.4",
@@ -39,5 +39,5 @@
39
39
  "types": "lib/index.d.ts",
40
40
  "main": "lib/nf-table.cjs.js",
41
41
  "module": "lib/nf-table.esm-bundler.js",
42
- "gitHead": "d72020ef037faebeb18b1e628a46bacb30006437"
42
+ "gitHead": "76a87fbc00a3fafca89d2a7592cb99e4feacf225"
43
43
  }