|
@@ -250,7 +250,7 @@ const onSubmit = async () => {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// 跳转到目标页面
|
|
// 跳转到目标页面
|
|
|
- await router.push({ name: 'samplingMethodDevice1' });
|
|
|
|
|
|
|
+ await router.push({ name: 'CropCadmiumPrediction' });
|
|
|
|
|
|
|
|
} catch (error: any) {
|
|
} catch (error: any) {
|
|
|
console.error('登录失败:', {
|
|
console.error('登录失败:', {
|
|
@@ -305,7 +305,7 @@ const onRegister = async () => {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// 跳转到目标页面
|
|
// 跳转到目标页面
|
|
|
- await router.push({ name: 'samplingMethodDevice1' });
|
|
|
|
|
|
|
+ await router.push({ name: 'CropCadmiumPrediction' });
|
|
|
} else {
|
|
} else {
|
|
|
showErrorMsg(loginResponse.data?.message || '自动登录失败,请手动登录');
|
|
showErrorMsg(loginResponse.data?.message || '自动登录失败,请手动登录');
|
|
|
toggleForm(); // 返回登录页面
|
|
toggleForm(); // 返回登录页面
|