Backend: Spring Boot 2.2.6 + MyBatis Plus - crmeb-admin: Admin API module - crmeb-service: Business logic - crmeb-common: Common utilities - crmeb-front: Frontend API Frontend: Vue 2.6.10 + Element UI 2.13.0 - Admin management system - 454 Vue components Analyzed by Miao Agent on 2026-02-28 Project Score: 5.5/10 Security: High Risk (JWT bypass, API over-permission)
10 lines
154 B
JavaScript
10 lines
154 B
JavaScript
exports.notEmpty = name => {
|
|
return v => {
|
|
if (!v || v.trim === '') {
|
|
return `${name} is required`
|
|
} else {
|
|
return true
|
|
}
|
|
}
|
|
}
|