init: 华葵后台管理系统初始化提交

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 13:07:56 +08:00
co-authored by Claude Opus 4.7
commit 3fd2efa171
413 changed files with 72350 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
exports.notEmpty = name => {
return v => {
if (!v || v.trim === '') {
return `${name} is required`
} else {
return true
}
}
}