feat: 添加安全中心功能,支持更改登录密码和交易密码,集成表单验证和状态管理
This commit is contained in:
@@ -79,6 +79,21 @@ const routes: Array<RouteRecordRaw> = [
|
||||
component: () => import("@/views/payment/add.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/security",
|
||||
component: () => import("@/views/security/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/security/change_password",
|
||||
component: () => import("@/views/security/change_password.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/security/change_payment_password",
|
||||
component: () => import("@/views/security/change_payment_password.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user