1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-13 04:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

优化服务器连接失败提示;优化登录界面输入框回车处理

This commit is contained in:
2022-04-05 12:56:17 +08:00
parent 3d2d0c42fb
commit 412ec19cf2
11 changed files with 71 additions and 2 deletions

View File

@@ -12,4 +12,5 @@ postRequest('/debug/status', { token: localStorage.token })
}
}).catch(function (error) {
console.log(error);
alert("无法连接到服务器,请检查网络连接!");
});

View File

@@ -60,5 +60,8 @@ function search({ tableElementId = "", searchText = "", categoryId = 0 }) {
} else {
alert(`出错啦!${data.errMsg} (错误码: ${data.errCode}) `);
}
}).catch(function (error) {
console.log(error);
alert("无法连接到服务器,请检查网络连接!");
});
}