mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
support sub path
This commit is contained in:
+2
-2
@@ -22,9 +22,9 @@ function isMobileDevice(): boolean {
|
||||
|
||||
function navigate(type: string): void {
|
||||
if (__EZBOOKKEEPING_IS_PRODUCTION__) {
|
||||
window.location.replace(`${type}/`);
|
||||
window.location.replace(`${type}#/`);
|
||||
} else {
|
||||
window.location.replace(`${type}.html`);
|
||||
window.location.replace(`${type}.html#/`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user