This commit is contained in:
wangjiahai
2023-11-23 14:02:48 +08:00
parent 8763f66105
commit e3559e6a8f
2 changed files with 12 additions and 7 deletions

12
common/empty.js Normal file
View File

@@ -0,0 +1,12 @@
function stringIsEmpty(str) {
return str === undefined || str === null || str === ''
}
function stringIsNotEmpty(str) {
return !stringIsEmpty(str)
}
export {
stringIsEmpty,
stringIsNotEmpty
}

View File

@@ -1,7 +0,0 @@
export default {
data() {
return {
}
}
}