新增深色模式

This commit is contained in:
eoao
2025-08-22 00:13:56 +08:00
parent d3325f0fe3
commit ff8ba81661
180 changed files with 1867 additions and 3346 deletions

View File

@@ -1,6 +1,5 @@
import {createRouter, createWebHistory} from 'vue-router'
import {useUiStore} from "@/store/ui.js";
import {replace} from "lodash-es";
const routes = [
{
@@ -91,7 +90,7 @@ router.beforeEach(async (to, from, next) => {
}
if (token && to.name === 'login') {
next(from.path)
return next(from.path)
}
next()