From cad2e3c8c54ed2fed0acc72734f31bbc07344edd Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 6 Feb 2025 15:33:17 +0800 Subject: [PATCH] fix: reset-password --- ui/src/locales/lang/en-US/views/application-workflow.ts | 4 ++-- ui/src/locales/lang/en-US/views/application.ts | 2 +- ui/src/router/routes.ts | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts index b9f2ca4ef..b54baba64 100644 --- a/ui/src/locales/lang/en-US/views/application-workflow.ts +++ b/ui/src/locales/lang/en-US/views/application-workflow.ts @@ -14,14 +14,14 @@ export default { restoreVersion: 'Restore Version', restoreCurrentVersion: 'Restore This Version', addComponent: 'Add Component', - public: 'Publish', + public: 'Release', releaseHistory: 'Release History', autoSave: 'Auto Save', latestRelease: 'Latest Release', copyParam: 'Copy Parameter' }, tip: { - publicSuccess: 'Published successfully', + publicSuccess: 'Successfully', noData: 'No related results found', nameMessage: 'Name cannot be empty!', onlyRight: 'Only allow connections from the right anchor point', diff --git a/ui/src/locales/lang/en-US/views/application.ts b/ui/src/locales/lang/en-US/views/application.ts index ed3d3f25c..b03c3c1ef 100644 --- a/ui/src/locales/lang/en-US/views/application.ts +++ b/ui/src/locales/lang/en-US/views/application.ts @@ -109,7 +109,7 @@ export default { } }, buttons: { - publish: 'Save&Publish', + publish: 'Save&Release', addModel: 'Add Model' }, dialog: { diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts index 7caa0a3f6..82ddb0596 100644 --- a/ui/src/router/routes.ts +++ b/ui/src/router/routes.ts @@ -41,6 +41,11 @@ export const routes: Array = [ name: 'forgot_password', component: () => import('@/views/login/forgot-password/index.vue') }, + { + path: '/reset_password/:code/:email', + name: 'reset_password', + component: () => import('@/views/login/reset-password/index.vue') + }, { path: '/:pathMatch(.*)', name: '404',