12-23-上传master
This commit is contained in:
7
src/utils/checkEmpty.ts
Normal file
7
src/utils/checkEmpty.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export default function checkUn (val: any) {
|
||||
if (val == undefined || val == null || val == "" || val == [] || JSON.stringify(val) == "{}" || val == "null") {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user