mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 17:38:55 +08:00
merge: 合并远端 script setup + pinia 迁移,保留装修编辑器 CRMEB 化功能
This commit is contained in:
@@ -4,7 +4,6 @@ import "nprogress/nprogress.css";
|
||||
import Util from "../libs/util";
|
||||
import { setRouter } from "../libs/router-holder";
|
||||
import Cookies from "js-cookie";
|
||||
import store from "@/store";
|
||||
import { routers } from "./router";
|
||||
|
||||
NProgress.configure({ showSpinner: false });
|
||||
@@ -43,7 +42,7 @@ router.beforeEach((to, from, next) => {
|
||||
});
|
||||
|
||||
router.afterEach((to) => {
|
||||
Util.openNewPage({ $store: store }, to.name, to.params, to.query);
|
||||
Util.openNewPage(to.name, to.params, to.query);
|
||||
NProgress.done();
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user