@netang/quasar 0.2.29 → 0.2.30

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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netang/quasar",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
 
5
5
  "description": "netang-quasar",
6
6
  "scripts": {
package/utils/$table.js CHANGED
@@ -1192,7 +1192,8 @@ function create(options) {
1192
1192
  * 获取表格配置
1193
1193
  */
1194
1194
  function config(routePath, path, defaultValue) {
1195
- return $n_cloneDeep($n_get(tablesConfig, $n_slash(routePath, 'start', false) + (path ? '.' + path : ''), defaultValue))
1195
+ const res = $n_get(tablesConfig, $n_slash(routePath, 'start', false) + (path ? '.' + path : ''), defaultValue)
1196
+ return $n_cloneDeep($n_isFunction(res) ? res() : res)
1196
1197
  }
1197
1198
 
1198
1199
  /**