Commit 9911b47a authored by van.chen's avatar van.chen

617的bug修改

parent fbb57b83
......@@ -59,7 +59,7 @@ export class Api {
private sendHttpReq(type, addr, reqB, next, error, complete) {
let nextFunc;
if (addr === '/login/dologin') {
if (addr === '/login') {
nextFunc = (data: any) => {
next(data);
};
......
......@@ -11,7 +11,6 @@ export class Transfer {
if (!req.query) {
req.query = '';
}
// const historys = JSON.parse(window.sessionStorage.getItem('router.history')) || [];
this.nc.navigateRoot(req.url + req.query);
}
}
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