fix(mini-user): address URL, form align, agreement checkbox, shop scan resume
CI / verify (pull_request) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-15 20:37:40 +08:00
parent 52a809649c
commit 966ddc9219
9 changed files with 106 additions and 21 deletions
@@ -82,6 +82,7 @@ export default function AddressEditPage() {
const validationError = validateForm();
if (validationError) {
setError(validationError);
toast(validationError);
return;
}
@@ -110,7 +111,9 @@ export default function AddressEditPage() {
});
}, 400);
} catch (e) {
setError(e instanceof Error ? e.message : '保存失败');
const msg = e instanceof Error ? e.message : '保存失败';
setError(msg);
toast(msg);
} finally {
setSaving(false);
}