Commit 5347a1b7 authored by Nicholas's avatar Nicholas

fix

parent 63922f77
...@@ -223,7 +223,12 @@ export default function App() { ...@@ -223,7 +223,12 @@ export default function App() {
try { try {
if (code !== '666') { 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 const deviationAgreements = passengers
......
...@@ -97,7 +97,7 @@ export async function fetchDeviationTerms() { ...@@ -97,7 +97,7 @@ export async function fetchDeviationTerms() {
const payload = await middlePost(middleTermsPath, { const payload = await middlePost(middleTermsPath, {
subject: 'deviation', subject: 'deviation',
page: 0, page: 0,
page_size: 20, page_size: 500,
filter: {}, filter: {},
full: false, full: false,
select: null, 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