This commit is contained in:
Harvey Zack committed 2018-10-26 15:22:54 +08:00
1 parent 86e4c68391
commit a146dc6812
4 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -400,7 +400,7 @@
var msg = "".concat(path.join('.'), ".").concat(key, " require 'string' or 'Element' type, but got '").concat(type, "'");
if (type === 'string') {
if (type.trim() === '') {
if (value.trim() === '') {
handle = false;
msg = "".concat(path.join('.'), ".").concat(key, " can not be empty'");
} else {