ps-toolkit-ui 0.0.216 → 0.0.217

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.
@@ -314,7 +314,7 @@
314
314
  LangClass.prototype.get = function (area, c, k, v) {
315
315
  var _this = this;
316
316
  if (v === void 0) { v = null; }
317
- if (k.match(/^-?\d+$/) || k.match(/^\d+\.\d+$/)) {
317
+ if (k != null && (k.match(/^-?\d+$/) || k.match(/^\d+\.\d+$/))) {
318
318
  return k;
319
319
  }
320
320
  var cv = _.get(this.lang, area ? area + "." + c + "." + k : c + "." + k);