feat: Front-end and back-end integration

This commit is contained in:
fit2cloud-chenyw
2025-04-29 10:04:46 +08:00
parent 83769954bb
commit a048875390
3 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
import Layout from '@/components/layout/index.vue'
import login from '@/views/login/index.vue'
@@ -8,7 +8,7 @@ import dashboard from '@/views/dashboard/index.vue'
import setting from '@/views/setting/index.vue'
import { watchRouter } from './watch'
const router = createRouter({
history: createWebHistory(),
history: createWebHashHistory(),
routes: [
{
path: '/login',