xianniu-ui 0.3.26 → 0.3.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xianniu-ui",
3
- "version": "0.3.26",
3
+ "version": "0.3.28",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -112,7 +112,7 @@ export default {
112
112
  isShowColumn() {
113
113
  return (row) => {
114
114
  if (row.show != undefined) {
115
- return typeof row.show === "function" ? row.show() : row.show;
115
+ return typeof row.show === "function" ? row.show(row) : row.show;
116
116
  }
117
117
  return true;
118
118
  };
package/src/index.js CHANGED
@@ -12,6 +12,7 @@ import XnTree from '../packages/tree/index'
12
12
  import XnImport from '../packages/import/index'
13
13
  import XnExport from '../packages/export/index'
14
14
  import XnFooter from '../packages/footer/index'
15
+ import XnEmpty from '../packages/empty/index'
15
16
 
16
17
  import Utils from 'xn-ui/src/utils/index'
17
18
  const doc = 'http://lzwr.gitee.io/xn-ui/#/'
@@ -28,7 +29,8 @@ const components = [
28
29
  XnTree,
29
30
  XnImport,
30
31
  XnExport,
31
- XnFooter
32
+ XnFooter,
33
+ XnEmpty
32
34
  ]
33
35
  const version = require('../package.json').version
34
36
  const install = function (Vue) {