diff --git a/src/router/index.ts b/src/router/index.ts
index b43fac0..b206244 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -29,13 +29,11 @@ router.beforeEach((to, _from, next) => {
const userStore = useUserStore()
let userRole = "";
let hasLogin = userStore.getAccessToken;
- console.log(hasLogin);
// 如果目标路由没有角色限制
if (!to.meta.role) {
next();
}
- console.log(to.meta.role);
// 判断当前用户角色是否在目标路由的允许角色列表中
if ((to.meta.role as string[]).includes(userRole)) {
diff --git a/src/views/components/PaymentTotal.vue b/src/views/components/PaymentTotal.vue
index fa875b9..5418247 100644
--- a/src/views/components/PaymentTotal.vue
+++ b/src/views/components/PaymentTotal.vue
@@ -23,7 +23,7 @@