This commit is contained in:
X1627315083
2024-06-24 09:47:59 +08:00
parent 8b0af784de
commit a5ac4a341f
20 changed files with 160 additions and 761 deletions

View File

@@ -1,7 +1,5 @@
import { createRouter, createWebHistory, RouteRecordRaw, createWebHashHistory } from 'vue-router'
import { defineAsyncComponent } from 'vue'
import { getBrowserInfo, murmur } from '@/tool/util'
import { useStore } from "vuex";
import store from "@/store"
import { getCookie, setCookie } from "@/tool/cookie";
const _import = (path: string) => defineAsyncComponent(() => import(`../views/${path}.vue`));
@@ -17,7 +15,6 @@ const routes: Array<RouteRecordRaw> = [
name: "HomeRecommend",
component: _import('HomeRecommend'),
children:[]
},
{
path: '/login',
@@ -107,11 +104,6 @@ const routes: Array<RouteRecordRaw> = [
},
]
},
// {//老版本history
// path: '/oldHistory',
// name: 'oldHistory',
// component: _import('OldHistoryPage')
// },
{
path: '/paySucceed',
name: 'paySucceed',