export default function () { return { title: "登录", type: "object", properties: { currentPassword: { title: "当前密码", type: "string", input: "password", rules: [ { required: true, }, ], }, newPassword: { title: "新密码", type: "string", input: "password", rules: [ { required: true, }, ], }, newPassword2: { title: "确认新密码", type: "string", input: "password", rules: [ { required: true, }, ], }, }, }; }