Parcourir la source

commonJS.isNotEmpty

wangqiang il y a 2 ans
Parent
commit
97d5d13c03
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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
    */