1、初始化项目

This commit is contained in:
2025-07-12 15:29:26 +08:00
commit b9fcd6a249
478 changed files with 31030 additions and 0 deletions

9
plop-templates/utils.js Normal file
View File

@ -0,0 +1,9 @@
exports.notEmpty = name => {
return v => {
if (!v || v.trim === '') {
return `${name} is required`
} else {
return true
}
}
}