remove: 移除无用代码

This commit is contained in:
lidongtony
2023-03-13 18:56:17 +08:00
parent 58747d9797
commit ed99aa4350
2 changed files with 1 additions and 14 deletions
-7
View File
@@ -158,12 +158,6 @@ function getCurrentPage() {
return pages[pages.length - 1];
}
function getCur() {
let a = getCurrentPages();
let pages = clone(a);
return pages;
}
function handleAction(path) {
const action = path.split(':');
switch (action[1]) {
@@ -187,6 +181,5 @@ export default {
redirect,
getCurrentPage,
getCurrentRoute,
getCur,
error,
};