提交 69e3053c 编写于 作者: Cano1997's avatar Cano1997

update: 更新插件

上级 8c7bf2b7
......@@ -18,7 +18,13 @@
height: 40px;
line-height: 40px;
.ivu-input {
-moz-appearance: textfield;
height: 40px;
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
}
}
}
......
......@@ -38,6 +38,13 @@ const rules = {
trigger: 'blur',
},
],
verificationCode: [
{
required: true,
message: '请输入验证码',
trigger: 'blur',
},
],
};
export default defineComponent({
......@@ -129,6 +136,12 @@ export default defineComponent({
const sendVerificationCode = () => {
const { username } = loginData;
if (!username) {
ibiz.notification.warning({
title: '请先输入账号',
});
return;
}
ibiz.net
.post(`/v7/loginPwd/sendVerificationCode/${username}`, {})
.then((res: IData) => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册