Commit 271c57e7 authored by XieZhiXiong's avatar XieZhiXiong
parents 38c2d6b9 d33b180d
...@@ -260,6 +260,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => { ...@@ -260,6 +260,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
} }
}) })
} }
/** /**
* 批量删除商品 * 批量删除商品
*/ */
......
...@@ -116,9 +116,9 @@ class ApiRequest { ...@@ -116,9 +116,9 @@ class ApiRequest {
baseRequest<IRequestSuccess<T>>(url, options).then(res => { baseRequest<IRequestSuccess<T>>(url, options).then(res => {
// 登录验证 // 登录验证
if (res.code === 1101) { if (res.code === 1101) {
// removeAuth() removeAuth()
// history.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`) // history.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`)
// window.location.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`) window.location.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`)
message.destroy() message.destroy()
message.error(res.message) message.error(res.message)
reject(res) reject(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment