mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-16 23:22:20 +08:00
localStorage操作统一使用localStorageUtils完成
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
alert("请输入您的密码");
|
||||
return;
|
||||
}
|
||||
postRequest("/user/cancelAccount", { token: localStorage.getItem("token"), password: accountCancellationPassword })
|
||||
postRequest("/user/cancelAccount", { token: localStorageUtils.getToken(), password: accountCancellationPassword })
|
||||
.then(function (response) {
|
||||
var axiosData = response.data;
|
||||
var status = axiosData.status;
|
||||
|
Reference in New Issue
Block a user