|
@@ -158,12 +158,6 @@ function getCurrentPage() {
|
|
return pages[pages.length - 1];
|
|
return pages[pages.length - 1];
|
|
}
|
|
}
|
|
|
|
|
|
-function getCur() {
|
|
|
|
- let a = getCurrentPages();
|
|
|
|
- let pages = clone(a);
|
|
|
|
- return pages;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
function handleAction(path) {
|
|
function handleAction(path) {
|
|
const action = path.split(':');
|
|
const action = path.split(':');
|
|
switch (action[1]) {
|
|
switch (action[1]) {
|
|
@@ -187,6 +181,5 @@ export default {
|
|
redirect,
|
|
redirect,
|
|
getCurrentPage,
|
|
getCurrentPage,
|
|
getCurrentRoute,
|
|
getCurrentRoute,
|
|
- getCur,
|
|
|
|
error,
|
|
error,
|
|
};
|
|
};
|