😎1、优化pnpm打包 2、升级依赖调整ai适配
This commit is contained in:
parent
c3c2822efb
commit
b3492f5039
@ -2,7 +2,7 @@
|
||||
"name": "admin.net.pro",
|
||||
"type": "module",
|
||||
"version": "2.4.33",
|
||||
"lastBuildTime": "2025.07.12",
|
||||
"lastBuildTime": "2025.07.15",
|
||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||
"author": "zuohuaijun",
|
||||
"license": "MIT",
|
||||
@ -26,7 +26,7 @@
|
||||
"@vue-office/pdf": "^2.0.9",
|
||||
"@vueuse/core": "^13.5.0",
|
||||
"@vxe-ui/plugin-export-xlsx": "^4.2.2",
|
||||
"@vxe-ui/plugin-render-element": "^4.0.12",
|
||||
"@vxe-ui/plugin-render-element": "^4.0.13",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"animate.css": "^4.1.1",
|
||||
@ -51,7 +51,7 @@
|
||||
"jwchat": "^2.0.3",
|
||||
"lodash-es": "^4.17.21",
|
||||
"magic-string": "^0.30.17",
|
||||
"md-editor-v3": "^5.7.1",
|
||||
"md-editor-v3": "^5.8.0",
|
||||
"mitt": "^3.0.1",
|
||||
"monaco-editor": "^0.52.2",
|
||||
"mqtt": "^5.13.2",
|
||||
@ -75,17 +75,16 @@
|
||||
"vue-clipboard3": "^2.0.0",
|
||||
"vue-demi": "0.14.10",
|
||||
"vue-draggable-plus": "^0.6.0",
|
||||
"vue-element-plus-x": "^1.2.1-beta",
|
||||
"vue-element-plus-x": "^1.3.0",
|
||||
"vue-grid-layout": "3.0.0-beta1",
|
||||
"vue-i18n": "^11.1.9",
|
||||
"vue-json-pretty": "^2.5.0",
|
||||
"vue-markdown-shiki": "^2.0.0",
|
||||
"vue-plugin-hiprint": "^0.0.60",
|
||||
"vue-router": "^4.5.1",
|
||||
"vue-signature-pad": "^3.0.2",
|
||||
"vue3-tree-org": "^4.2.2",
|
||||
"vxe-pc-ui": "^4.7.5",
|
||||
"vxe-table": "^4.14.2",
|
||||
"vxe-pc-ui": "^4.7.7",
|
||||
"vxe-table": "^4.14.3",
|
||||
"xe-utils": "^3.7.6",
|
||||
"xlsx-js-style": "^1.2.0"
|
||||
},
|
||||
@ -96,8 +95,8 @@
|
||||
"@types/node": "^22.15.35",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/sortablejs": "^1.15.8",
|
||||
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
||||
"@typescript-eslint/parser": "^8.36.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
||||
"@typescript-eslint/parser": "^8.37.0",
|
||||
"@vitejs/plugin-vue": "^6.0.0",
|
||||
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
||||
"@vue/compiler-sfc": "^3.5.17",
|
||||
@ -130,7 +129,10 @@
|
||||
"esbuild",
|
||||
"json-editor-vue",
|
||||
"vue-demi"
|
||||
]
|
||||
],
|
||||
"overrides": {
|
||||
"rollup": "4.43.0"
|
||||
}
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
|
||||
@ -28,8 +28,6 @@ import 'jwchat/lib/style.css';
|
||||
import sysDict from '/@/components/sysDict/sysDict.vue';
|
||||
// AI组件
|
||||
import ElementPlusX from 'vue-element-plus-x';
|
||||
import 'vue-markdown-shiki/style'
|
||||
import markdownPlugin from 'vue-markdown-shiki'
|
||||
// 关闭自动打印
|
||||
import { disAutoConnect } from 'vue-plugin-hiprint';
|
||||
disAutoConnect();
|
||||
@ -41,4 +39,4 @@ other.elSvg(app);
|
||||
// 注册全局字典组件
|
||||
app.component('GSysDict', sysDict);
|
||||
|
||||
app.use(pinia).use(i18n).use(router).use(ElementPlus).use(setupVXETable).use(VueGridLayout).use(VForm3).use(VueSignaturePad).use(vue3TreeOrg).use(JwChat).use(ElementPlusX).use(markdownPlugin).mount('#app');
|
||||
app.use(pinia).use(i18n).use(router).use(ElementPlus).use(setupVXETable).use(VueGridLayout).use(VForm3).use(VueSignaturePad).use(vue3TreeOrg).use(JwChat).use(ElementPlusX).mount('#app');
|
||||
|
||||
@ -112,17 +112,13 @@
|
||||
<template #header="{ item }">
|
||||
<div v-if="item.role == 'assistant' && deepThinkingVisible && item.key == chatList[chatList.length - 1].key" class="header-wrapper">
|
||||
<Thinking max-width="100%" buttonWidth="250px" autoCollapse :content="deepThinkingMessage" :status="deepThinkingStatus" backgroundColor="#fff9e6" color="#000">
|
||||
<template #label="{ status }">
|
||||
<!-- <template #label="{ status }">
|
||||
<span v-if="status === 'start'">{{ $t('message.chat.startThinking') }}</span>
|
||||
<span v-else-if="status === 'thinking'">{{ $t('message.chat.thinking') }}</span>
|
||||
<span v-else-if="status === 'end'">{{ $t('message.chat.thinkingDone') }}</span>
|
||||
<span v-else-if="status === 'error'">{{ $t('message.chat.thinkingFailed') }}</span>
|
||||
</template>
|
||||
<template #content="{ content }">
|
||||
<span>
|
||||
<VueMarkdownIt class="deep-thinking-content" :content="content" />
|
||||
</span>
|
||||
</template>
|
||||
</template> -->
|
||||
<!-- <template #content="{ content }"> </template> -->
|
||||
</Thinking>
|
||||
</div>
|
||||
</template>
|
||||
@ -214,9 +210,6 @@ import { v4 as uuidv4 } from 'uuid';
|
||||
import type { BubbleListItemProps, BubbleListProps } from 'vue-element-plus-x/types/components/BubbleList/types';
|
||||
import type { ConversationItem } from 'vue-element-plus-x/types/components/Conversations/types';
|
||||
import type { TypewriterInstance } from 'vue-element-plus-x/types/components/Typewriter/types';
|
||||
import 'vue-element-plus-x/styles/prism.min.css';
|
||||
import 'vue-element-plus-x/styles/prism-solarizedlight.min.css';
|
||||
import { VueMarkdownIt } from 'vue-markdown-shiki';
|
||||
|
||||
import { getAPI } from '/@/utils/axios-utils';
|
||||
import { LLMChatApi } from '/@/api-services/api';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user