bkui-vue 0.0.3-beta.2-4 → 0.0.3-beta.2-5

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.
@@ -2955,10 +2955,10 @@ var getRowText = function getRowText(row, key, format) {
2955
2955
  format.forEach(function (reg) {
2956
2956
  if (typeof reg === 'function') {
2957
2957
  result = reg(result, row, key);
2958
- } else {
2958
+ } else if (typeof result === 'string') {
2959
2959
  var _matches$;
2960
2960
  var matches = result.match(typeof reg === 'string' ? getRegExp(reg) : reg);
2961
- result = (_matches$ = matches[1]) !== null && _matches$ !== void 0 ? _matches$ : result;
2961
+ result = (_matches$ = matches === null || matches === void 0 ? void 0 : matches[1]) !== null && _matches$ !== void 0 ? _matches$ : result;
2962
2962
  }
2963
2963
  });
2964
2964
  if (/^-?\d+.?\d*$/.test(result)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.3-beta.2-4",
3
+ "version": "0.0.3-beta.2-5",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",