Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将此类输入转换为 DB 中的 DATE 字段?
客户坚持用这种方式输入用户生日。首先,我的想法只是在 中的一个字段中连接beforeValidate,但是在此输入之后将无法显示从数据库输入的日期。如何避免这种限制?
beforeValidate
beforeValidate()
birthdate
afterFind()