5.3.30-pub
This commit is contained in:
parent
007ebdd44d
commit
b5c51fc9b0
|
|
@ -23,7 +23,7 @@ export class Navigator extends CommonNavigator {
|
|||
}
|
||||
search += `${k}=${typeof options[k] === 'string' ? options[k] : JSON.stringify(options[k])}`;
|
||||
}
|
||||
const url = pathname.replace(this.namespace, '');
|
||||
const url = pathname.replace(this.namespace, '').replace('//', '/');
|
||||
return {
|
||||
pathname: pathname,
|
||||
state: options,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export class Navigator extends CommonNavigator {
|
|||
}
|
||||
getLocation() {
|
||||
const { pathname } = this.history.location;
|
||||
const url = pathname.replace(this.namespace, '');
|
||||
const url = pathname.replace(this.namespace, '').replace('//', '/');
|
||||
return {
|
||||
...this.history.location,
|
||||
namespace: this.namespace,
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
"i18n-js": "^4.3.0",
|
||||
"node-schedule": "^2.1.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"oak-common-aspect": "file:../oak-common-aspect",
|
||||
"oak-domain": "file:../oak-domain",
|
||||
"oak-memory-tree-store": "file:../oak-memory-tree-store",
|
||||
"oak-common-aspect": "^3.0.5",
|
||||
"oak-domain": "^5.1.22",
|
||||
"oak-memory-tree-store": "^3.3.11",
|
||||
"ol": "^7.3.0",
|
||||
"rc-pagination": "^4.3.0",
|
||||
"react-activation": "^0.12.4",
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export class Navigator extends CommonNavigator {
|
|||
}
|
||||
search += `${k}=${ typeof options[k] === 'string' ? options[k] : JSON.stringify(options[k])}`;
|
||||
}
|
||||
const url = pathname.replace(this.namespace, '');
|
||||
const url = pathname.replace(this.namespace, '').replace('//', '/');
|
||||
return {
|
||||
pathname: pathname,
|
||||
state: options,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export class Navigator extends CommonNavigator {
|
|||
|
||||
getLocation() {
|
||||
const { pathname } = this.history.location;
|
||||
const url = pathname.replace(this.namespace, '');
|
||||
const url = pathname.replace(this.namespace, '').replace('//', '/');
|
||||
return {
|
||||
...this.history.location,
|
||||
namespace: this.namespace,
|
||||
|
|
|
|||
Loading…
Reference in New Issue