We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 821f540 + a834edf commit aa4ad78Copy full SHA for aa4ad78
src/Router/index.js
@@ -346,7 +346,7 @@ const resolveHashChange = request => {
346
347
/**
348
* Directional step in history
349
- * @param direction
+ * @param level
350
*/
351
export const step = (level = 0) => {
352
if (!level || isNaN(level)) {
@@ -362,7 +362,7 @@ export const step = (level = 0) => {
362
if (isFunction(app._handleAppClose)) {
363
return app._handleAppClose()
364
}
365
- return false
+ return app.application.closeApp()
366
} else if (history.length) {
367
// for now we only support history back
368
const route = history.splice(history.length - level, level)[0]
0 commit comments