1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-16 23:22:20 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

第三方登录回调跳转地址错误修正,用户收藏功能异常修复

This commit is contained in:
2022-04-11 22:50:29 +08:00
parent c9c3917fc3
commit 9a19a99fd6
3 changed files with 12 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
// 绑定第三方账号成功
alert("绑定成功");
location.href = "/dashboard/user/myAccount";
location.href = "/dashboard/user/my-account";
} else {
// 第三方登录成功
localStorageUtils.userLogin({

View File

@@ -1,5 +1,11 @@
<!-- 搜索书籍 -->
<script>
search({
tableElementId: "book-table",
searchText: null,
categoryId: null
});
function search({ tableElementId = "" }) {
postRequest("/book/getFavoritesList", { token: localStorageUtils.getToken() })
.then(function (responseData) {