任务列表页面
This commit is contained in:
12
src/main.ts
12
src/main.ts
@@ -14,18 +14,12 @@ import i18n from './lang/index'
|
||||
import { getBrowserInfo, murmur } from './tool/util'
|
||||
import "../node_modules/@flaticon/flaticon-uicons/css/all/all.css"
|
||||
import { Https } from "@/tool/https";
|
||||
// import "@/tool/color-thief.js";
|
||||
// import "@/tool/fabric.brushes.js";
|
||||
// import "@/tool/fabric.min.js";
|
||||
|
||||
flexible()
|
||||
import { getCookie, setCookie } from "@/tool/cookie";
|
||||
let token = getCookie("token");
|
||||
// Https.axiosGet(Https.httpUrls.endpoint)
|
||||
// .then((rv) => {
|
||||
// console.log(rv);
|
||||
|
||||
// })
|
||||
// .catch((res) => {
|
||||
// });
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
if(to.name == "login"){
|
||||
if(window.location.search.substring(1) != 'oldHis'){
|
||||
|
||||
Reference in New Issue
Block a user