This commit is contained in:
PhatenIoT-yan
2025-12-25 14:21:26 +08:00
parent ed34548c71
commit 00f42eab80
72 changed files with 2193 additions and 471 deletions

View File

@@ -833,7 +833,8 @@
})
.catch(error => {
console.error('Error:', error);
showMessage('网络错误', '注册请求失败,请稍后重试!', 'error');
var msg = error.message || error.toString() || error;
showMessage( '注册请求失败!', msg,'error');
});
}
@@ -905,7 +906,8 @@
})
.catch(error => {
console.error('Error:', error);
showMessage('网络错误', '密码重置请求失败,请稍后重试!', 'error');
var msg = error.message || error.toString() || error;
showMessage('提交请求失败,请稍后重试',msg, 'error');
})
.finally(() => {
// 恢复按钮状态