mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-16 23:22:20 +08:00
第三方登录回调跳转地址错误修正,用户收藏功能异常修复
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
// 绑定第三方账号成功
|
||||
alert("绑定成功");
|
||||
location.href = "/dashboard/user/myAccount";
|
||||
location.href = "/dashboard/user/my-account";
|
||||
} else {
|
||||
// 第三方登录成功
|
||||
localStorageUtils.userLogin({
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user