1.修复禅道bug
parent
a4c9a80ed5
commit
689604a29b
@ -1,11 +1,10 @@
|
||||
//封装字符串相关的方法
|
||||
export function isBlank(value) {
|
||||
if (value === "" || value === null) {
|
||||
if (value === "" || value === null || value === undefined) {
|
||||
return true;
|
||||
}
|
||||
|
||||
value = value.trim();
|
||||
if (value === "string" || value === "undefined") {
|
||||
if ("" === value || value === "string" || value === "undefined") {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue