Commit 5347a1b7 authored by Nicholas's avatar Nicholas

fix

parent 63922f77
......@@ -223,7 +223,12 @@ export default function App() {
try {
if (code !== '666') {
await verifySmsCode({ mobile: phone, code, token: mobileToken });
const verified = await verifySmsCode({ mobile: phone, code, token: mobileToken });
if (verified !== true) {
window.alert('验证码错误!');
return;
}
}
const deviationAgreements = passengers
......
......@@ -97,7 +97,7 @@ export async function fetchDeviationTerms() {
const payload = await middlePost(middleTermsPath, {
subject: 'deviation',
page: 0,
page_size: 20,
page_size: 500,
filter: {},
full: false,
select: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment