修复:图形验证码大写不识别
修复:按商户ID查询订单、商品、分类等
This commit is contained in:
@@ -323,12 +323,11 @@
|
||||
return;
|
||||
}
|
||||
if (text.value !== imgCode.value.toLowerCase()) {
|
||||
message.error(text.value + '图形验证码不正确' + imgCode.value);
|
||||
message.error('图形验证码不正确');
|
||||
return;
|
||||
}
|
||||
codeLoading.value = true;
|
||||
sendSmsCaptcha({ phone: form.phone }).then((res) => {
|
||||
console.log(res);
|
||||
message.success('短信验证码发送成功, 请注意查收!');
|
||||
visible.value = false;
|
||||
codeLoading.value = false;
|
||||
@@ -362,7 +361,7 @@
|
||||
.validate()
|
||||
.then(() => {
|
||||
loading.value = true;
|
||||
form.code = form.smsCode;
|
||||
form.code = form.smsCode?.toLowerCase();
|
||||
loginBySms(form)
|
||||
.then((msg) => {
|
||||
message.success(msg);
|
||||
@@ -381,7 +380,6 @@
|
||||
|
||||
/* 保存编辑 */
|
||||
const submit = () => {
|
||||
console.log(formRef.value);
|
||||
if (!formRef.value) {
|
||||
return;
|
||||
}
|
||||
@@ -394,6 +392,7 @@
|
||||
return;
|
||||
}
|
||||
loading.value = true;
|
||||
form.code = form.code?.toLowerCase();
|
||||
login(form)
|
||||
.then((msg) => {
|
||||
message.success(msg);
|
||||
|
||||
Reference in New Issue
Block a user