mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 02:46:48 +08:00
接口初始化 第一版
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* @FilePath: /fe-stu/src/router/index.js
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
import { createRouter, createWebHashHistory } from 'vue-router';
|
||||
import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router';
|
||||
import routesConfig from './config';
|
||||
// console.log('routesConfig', routesConfig)
|
||||
|
||||
@@ -20,7 +20,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory("/fe-student"),
|
||||
history: createWebHistory("/fe-student"),
|
||||
routes
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user