fix: 🐛 修复弹窗switch开关显示问题

This commit is contained in:
albert
2022-07-11 15:03:52 +08:00
parent 5856faaef3
commit 401aaf97a4
8 changed files with 109 additions and 7 deletions

View File

@@ -15,9 +15,9 @@ export function copyAttr(source, target){
export function isNull(ele){
if(typeof ele==='undefined'){
return true;
}else if(ele==null){
}else if(ele===null){
return true;
}else if(ele==''){
}else if(ele===''){
return true;
}
return false;