Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ai-chat-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenghong_tao
ai-chat-ui
Commits
26d86233
Commit
26d86233
authored
Apr 25, 2025
by
infinova_sqls_rduser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加前坠
parent
b856ece6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
10 deletions
+11
-10
index.html
index.html
+1
-1
aiBubble.vue
src/components/chatSubassembly/aiBubble.vue
+3
-3
userBubble.vue
src/components/chatSubassembly/userBubble.vue
+1
-1
welcomeBubble.vue
src/components/chatSubassembly/welcomeBubble.vue
+1
-1
config.js
src/config.js
+2
-3
vite.config.js
vite.config.js
+3
-1
No files found.
index.html
View file @
26d86233
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
/>
<link
rel=
"icon"
type=
"image/svg+xml"
href=
"/avatarAI.svg"
/>
<link
rel=
"icon"
type=
"image/svg+xml"
href=
"
.
/avatarAI.svg"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title>
AI助手
</title>
</head>
...
...
src/components/chatSubassembly/aiBubble.vue
View file @
26d86233
...
...
@@ -29,7 +29,7 @@
</div>
<MarkdownRenderer
:content=
"messageContent"
/>
</div>
</
template
>
<
template
#
footer
>
<div
class=
"footer-container"
>
...
...
@@ -69,7 +69,7 @@
import
{
computed
,
ref
,
watch
}
from
"vue"
;
import
{
Refresh
,
Search
,
Star
,
DocumentCopy
,
Loading
,
SuccessFilled
,
WarningFilled
}
from
"@element-plus/icons-vue"
;
import
workflowItem
from
"./workflowItem.vue"
;
import
MarkdownRenderer
from
'../markdown/markdownRender.vue'
;
import
MarkdownRenderer
from
'../markdown/markdownRender.vue'
;
import
{
Bubble
,
useXStream
}
from
"vue-element-plus-x"
;
import
difyApi
from
"../../apis/difyApi"
;
import
{
useTaskStore
}
from
"../../store/task"
;
...
...
@@ -78,7 +78,7 @@ import { ElMessage } from "element-plus";
const
taskStore
=
useTaskStore
();
const
{
startStream
,
cancel
,
data
,
error
,
isLoading
}
=
useXStream
();
const
avatarAi
=
"/avatarAI.svg"
;
const
avatarAi
=
"
.
/avatarAI.svg"
;
const
props
=
defineProps
({
query
:
{
...
...
src/components/chatSubassembly/userBubble.vue
View file @
26d86233
...
...
@@ -13,5 +13,5 @@ const props = defineProps({
default
:
""
,
},
});
const
avatarUser
=
"/avatarUser.svg"
;
const
avatarUser
=
"
.
/avatarUser.svg"
;
</
script
>
src/components/chatSubassembly/welcomeBubble.vue
View file @
26d86233
...
...
@@ -22,7 +22,7 @@ import { Refresh, Search, Star, DocumentCopy } from "@element-plus/icons-vue";
import
{
Bubble
}
from
"vue-element-plus-x"
;
import
difyApi
from
"../../apis/difyApi"
;
const
avatarAi
=
"/avatarAI.svg"
;
const
avatarAi
=
"
.
/avatarAI.svg"
;
const
props
=
defineProps
({
appParams
:
{
type
:
Object
,
...
...
src/config.js
View file @
26d86233
export
default
{
DIFY_URL
:
'/v1'
,
DIFY_URL
:
'
.
/v1'
,
API_KEY
:
'app-7HghtszMdnxVOtMdZtZoOEUK'
,
USER_ID
:
'asset_user'
}
\ No newline at end of file
}
vite.config.js
View file @
26d86233
...
...
@@ -5,7 +5,9 @@ import Components from 'unplugin-vue-components/vite'
import
{
ElementPlusResolver
}
from
'unplugin-vue-components/resolvers'
// https://vite.dev/config/
const
BASE_PATH
=
process
.
env
.
REACT_APP_BASE_PATH
||
'/'
;
export
default
defineConfig
({
base
:
BASE_PATH
,
plugins
:
[
vue
(),
AutoImport
({
...
...
@@ -25,7 +27,7 @@ export default defineConfig({
},
server
:
{
proxy
:
{
'/v1'
:
{
'/v1'
:
{
target
:
'http://10.82.14.177'
,
changeOrigin
:
true
,
// rewrite: (path) => path.replace(/^\/v1/, '')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment