luoyifan 3 years ago
parent
commit
ee05b6554d
2 changed files with 12 additions and 3 deletions
  1. 11 2
      dist/yvan-ext.js
  2. 1 1
      dist/yvan-ext.js.map

+ 11 - 2
dist/yvan-ext.js

@@ -61217,10 +61217,19 @@ define(['exports'], function (exports) { 'use strict';
         if (value == 'N/A') {
             return "";
         }
-        return ("" + value).trim();
+        return ("" + value);
     }
     function isEmpty(value) {
-        return lodash.size(toString$2(value)) <= 0;
+        if (typeof value === 'undefined') {
+            return true;
+        }
+        if (isNaN(value)) {
+            return true;
+        }
+        if (value == 'N/A') {
+            return true;
+        }
+        return lodash.size(toString$2(value).trim()) <= 0;
     }
     function createUUID() {
         //@ts-ignore

File diff suppressed because it is too large
+ 1 - 1
dist/yvan-ext.js.map