@netang/quasar 0.1.45 → 0.1.46

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/$table.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netang/quasar",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "netang-quasar",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/utils/$table.js CHANGED
@@ -340,7 +340,7 @@ function create(options) {
340
340
 
341
341
  // 表格可见列
342
342
  const _tableVisibleColumns = o.showVisibleColumns && isCache ?
343
- $n_cb($n_storage.get('table:visible_columns:' + cacheName), e => $n_isValidArray(e) ? e : [])
343
+ $n_cb($n_storage.get('table:visible_columns:' + cacheName), e => Array.isArray(e) ? e : $n_uniq([...o.visibleColumns]))
344
344
  : $n_uniq([...o.visibleColumns])
345
345
 
346
346
  // 表格翻页参数