Explorar o código

commonJS.isNotEmpty

wangqiang %!s(int64=2) %!d(string=hai) anos
pai
achega
97d5d13c03
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/utils/common.js

+ 3 - 0
src/utils/common.js

@@ -66,6 +66,9 @@ export default {
     }
     return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
   },
+	isNotEmpty (value) {
+		return !this.isEmpty(value)
+	},
   /**
    * @param {string} value
    */