From a0380b435f5ad3f7550b02f9e6ed94322b3932c4 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Mon, 28 Nov 2022 11:45:27 +0800 Subject: [PATCH] =?UTF-8?q?init=20=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b531615..f0804c9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,4 +1,4 @@ -import { createRouter, createWebHashHistory } from 'vue-router'; +import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'; import routesConfig from './config'; // console.log('routesConfig', routesConfig) @@ -12,7 +12,7 @@ const routes = [ ] const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes })