diff --git a/ui/package.json b/ui/package.json index e0c89ce99..86b175c45 100644 --- a/ui/package.json +++ b/ui/package.json @@ -16,12 +16,15 @@ "@codemirror/lang-json": "^6.0.1", "@codemirror/lang-python": "^6.2.1", "@codemirror/theme-one-dark": "^6.1.2", + "@logicflow/core": "^2.0.15", + "@logicflow/extension": "^2.0.20", "@vavt/cm-extension": "^1.9.1", "@wecom/jssdk": "^2.3.1", "axios": "^1.8.4", "cropperjs": "^2.0.0-rc.2", "dingtalk-jsapi": "^3.1.0", "element-plus": "^2.9.10", + "file-saver": "^2.0.5", "highlight.js": "^11.11.1", "katex": "^0.16.22", "md-editor-v3": "^5.6.1", diff --git a/ui/src/layout/layout-header/avatar/ResetPassword.vue b/ui/src/layout/layout-header/avatar/ResetPassword.vue index 35f538f1b..25cf5a169 100644 --- a/ui/src/layout/layout-header/avatar/ResetPassword.vue +++ b/ui/src/layout/layout-header/avatar/ResetPassword.vue @@ -87,7 +87,7 @@ import { ref } from 'vue' import type { ResetCurrentUserPasswordRequest } from '@/api/type/user' import type { FormInstance, FormRules } from 'element-plus' import { MsgSuccess } from '@/utils/message' -import UserApi from '@/api/user' +import UserApi from '@/api/user/user' import useStore from '@/stores' import { useRouter } from 'vue-router' import { t } from '@/locales' diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts index 908a31bde..6185d6ff5 100644 --- a/ui/src/router/routes.ts +++ b/ui/src/router/routes.ts @@ -30,9 +30,9 @@ export const routes: Array = [ component: () => import('@/views/login/index.vue'), }, { - path: '/forget_password', - name: 'ForgetPassword', - component: () => import('@/views/login/ForgetPassword.vue'), + path: '/forgot_password', + name: 'ForgotPassword', + component: () => import('@/views/login/ForgotPassword.vue'), }, { path: '/reset_password/:code/:email', diff --git a/ui/src/stores/modules/common.ts b/ui/src/stores/modules/common.ts index 92946014b..5cd054db7 100644 --- a/ui/src/stores/modules/common.ts +++ b/ui/src/stores/modules/common.ts @@ -1,7 +1,7 @@ import { defineStore } from 'pinia' import { DeviceType, ValidType } from '@/enums/common' // import type { Ref } from 'vue' -// import userApi from '@/api/user' +// import userApi from '@/api/user/user' export interface commonTypes { breadcrumb: any diff --git a/ui/src/views/application/component/AIModeParamSettingDialog.vue b/ui/src/views/application/component/AIModeParamSettingDialog.vue index e721c7340..e6dd0ab7a 100644 --- a/ui/src/views/application/component/AIModeParamSettingDialog.vue +++ b/ui/src/views/application/component/AIModeParamSettingDialog.vue @@ -35,7 +35,7 @@