Files
Nexus/web/app/assets/validation-BMzYTJL4.js
T
Nexus Agent 0f6f91e61a fix(api): align alerts/commands contracts and ship full-site test suite.
Restore alert history filters and stats fields, paginate command/session logs for the SPA, show script labels on schedules, and land integration/E2E coverage with rebuilt web assets.
2026-06-09 02:13:13 +08:00

1 line
279 B
JavaScript

function e(e=`此项`){return t=>!!t||`${e}不能为空`}function t(e,t,n=`值`){return r=>{if(!r)return!0;let i=Number(r);return!isNaN(i)&&i>=e&&i<=t||`${n}必须在${e}-${t}之间`}}function n(e,t=`密码`){return n=>n===e()||`两次${t}不一致`}export{t as n,e as r,n as t};