Skip to content

Commit dfba894

Browse files
fix: build
1 parent 76e3eeb commit dfba894

File tree

8 files changed

+12
-9
lines changed

8 files changed

+12
-9
lines changed

ui/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616
"@codemirror/lang-json": "^6.0.1",
1717
"@codemirror/lang-python": "^6.2.1",
1818
"@codemirror/theme-one-dark": "^6.1.2",
19+
"@logicflow/core": "^2.0.15",
20+
"@logicflow/extension": "^2.0.20",
1921
"@vavt/cm-extension": "^1.9.1",
2022
"@wecom/jssdk": "^2.3.1",
2123
"axios": "^1.8.4",
2224
"cropperjs": "^2.0.0-rc.2",
2325
"dingtalk-jsapi": "^3.1.0",
2426
"element-plus": "^2.9.10",
27+
"file-saver": "^2.0.5",
2528
"highlight.js": "^11.11.1",
2629
"katex": "^0.16.22",
2730
"md-editor-v3": "^5.6.1",

ui/src/layout/layout-header/avatar/ResetPassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ import { ref } from 'vue'
8787
import type { ResetCurrentUserPasswordRequest } from '@/api/type/user'
8888
import type { FormInstance, FormRules } from 'element-plus'
8989
import { MsgSuccess } from '@/utils/message'
90-
import UserApi from '@/api/user'
90+
import UserApi from '@/api/user/user'
9191
import useStore from '@/stores'
9292
import { useRouter } from 'vue-router'
9393
import { t } from '@/locales'

ui/src/router/routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export const routes: Array<RouteRecordRaw> = [
3030
component: () => import('@/views/login/index.vue'),
3131
},
3232
{
33-
path: '/forget_password',
34-
name: 'ForgetPassword',
35-
component: () => import('@/views/login/ForgetPassword.vue'),
33+
path: '/forgot_password',
34+
name: 'ForgotPassword',
35+
component: () => import('@/views/login/ForgotPassword.vue'),
3636
},
3737
{
3838
path: '/reset_password/:code/:email',

ui/src/stores/modules/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineStore } from 'pinia'
22
import { DeviceType, ValidType } from '@/enums/common'
33
// import type { Ref } from 'vue'
4-
// import userApi from '@/api/user'
4+
// import userApi from '@/api/user/user'
55

66
export interface commonTypes {
77
breadcrumb: any

ui/src/views/application/component/AIModeParamSettingDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<script setup lang="ts">
3636
import { ref } from 'vue'
3737
import type { FormField } from '@/components/dynamics-form/type'
38-
import modelAPi from '@/api/model'
38+
import modelAPi from '@/api/model/model'
3939
import applicationApi from '@/api/application/application'
4040
import DynamicsForm from '@/components/dynamics-form/index.vue'
4141
const model_form_field = ref<Array<FormField>>([])

ui/src/views/application/component/TTSModeParamSettingDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<script setup lang="ts">
4444
import { ref } from 'vue'
4545
import type { FormField } from '@/components/dynamics-form/type'
46-
import modelAPi from '@/api/model'
46+
import modelAPi from '@/api/model/model'
4747
import applicationApi from '@/api/application/application'
4848
import DynamicsForm from '@/components/dynamics-form/index.vue'
4949
import { keys } from 'lodash'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import type { ResetPasswordRequest } from '@/api/type/user'
5959
import { useRouter, useRoute } from 'vue-router'
6060
import { MsgSuccess } from '@/utils/message'
6161
import type { FormInstance, FormRules } from 'element-plus'
62-
import UserApi from '@/api/user'
62+
import UserApi from '@/api/user/user'
6363
import { t } from '@/locales'
6464
const router = useRouter()
6565
const route = useRoute()

ui/src/workflow/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import AppEdge from './common/edge'
1111
import Control from './common/NodeControl.vue'
1212
import { baseNodes } from '@/workflow/common/data'
1313
import '@logicflow/extension/lib/style/index.css'
14-
import '@logicflow/core/dist/style/index.css'
14+
import '@logicflow/core/dist/index.css'
1515
import { initDefaultShortcut } from '@/workflow/common/shortcut'
1616
import Dagre from '@/workflow/plugins/dagre'
1717
import { getTeleport } from '@/workflow/common/teleport'

0 commit comments

Comments
 (0)