@kyfe/ks-query-table 0.0.11 → 0.0.12

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.
@@ -1,4 +1,4 @@
1
- ;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="711a00e3-dcd0-4313-bb89-a5ef89625131",e._sentryDebugIdIdentifier="sentry-dbid-711a00e3-dcd0-4313-bb89-a5ef89625131")}catch(e){}};
1
+ ;{try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="807508cc-cf54-4e06-b227-d35e9e901164",e._sentryDebugIdIdentifier="sentry-dbid-807508cc-cf54-4e06-b227-d35e9e901164")}catch(e){}};
2
2
  {
3
3
  let _global =
4
4
  typeof window !== 'undefined' ?
@@ -11,7 +11,7 @@
11
11
  self :
12
12
  {};
13
13
 
14
- _global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.11"};}
14
+ _global.SENTRY_RELEASE={id:"@kyfe/ks-query-table@0.0.12"};}
15
15
  (function webpackUniversalModuleDefinition(root, factory) {
16
16
  if(typeof exports === 'object' && typeof module === 'object')
17
17
  module.exports = factory();
@@ -22794,10 +22794,7 @@ var style_cell = __webpack_require__("4396");
22794
22794
  methods: {
22795
22795
  setContent: function setContent(text) {
22796
22796
  // 判空,否则没有值会显示undefined,特别是自定义列没有返回的时候
22797
- if (undefined === text) {
22798
- return '';
22799
- }
22800
- this.text = String(text);
22797
+ this.text = undefined === text ? '' : String(text);
22801
22798
  },
22802
22799
  setOffset: function setOffset(offset) {
22803
22800
  this.offset = offset;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyfe/ks-query-table",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"