Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
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
poc
poc-fe
Commits
50b156da
Commit
50b156da
authored
Mar 06, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
fix: 是否开启上传图片默认值 See merge request
!170
parents
839b3aaa
44c80e5f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
footer-operation.vue
src/views/home/components/footer-operation.vue
+3
-1
multi-model-dialogue.vue
src/views/multi-model-dialogue/multi-model-dialogue.vue
+1
-1
footer-input.vue
...ts/agent-config/agent-preview/components/footer-input.vue
+1
-1
share-application-mobile.vue
src/views/share/share-application-mobile.vue
+1
-1
share-application-web.vue
src/views/share/share-application-web.vue
+1
-1
No files found.
src/views/home/components/footer-operation.vue
View file @
50b156da
...
...
@@ -75,7 +75,9 @@ const isHasUploadImage = computed(() => {
const
isEnglishLanguage
=
computed
(()
=>
systemLanguageStore
.
currentLanguageInfo
.
key
===
'en'
)
const
isEnableUploadImage
=
computed
(()
=>
currentAgentApplication
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
))
const
isEnableUploadImage
=
computed
(()
=>
{
return
currentAgentApplication
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
||
false
})
;(
function
()
{
getAgentApplicationSelectList
()
...
...
src/views/multi-model-dialogue/multi-model-dialogue.vue
View file @
50b156da
...
...
@@ -51,7 +51,7 @@ const isEnableDocumentParse = computed(() => {
})
const
isEnableUploadImage
=
computed
(()
=>
{
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
||
false
})
onMounted
(
async
()
=>
{
...
...
src/views/personal-space/personal-app-setting/components/agent-config/agent-preview/components/footer-input.vue
View file @
50b156da
...
...
@@ -101,7 +101,7 @@ const isUploadFileDisabled = computed(() => {
})
const
isEnableUploadImage
=
computed
(()
=>
{
return
personalAppConfigStore
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
return
personalAppConfigStore
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
||
false
})
const
uploadFileIcon
=
(
type
:
string
)
=>
{
...
...
src/views/share/share-application-mobile.vue
View file @
50b156da
...
...
@@ -57,7 +57,7 @@ const isEnableDocumentParse = computed(() => {
})
const
isEnableUploadImage
=
computed
(()
=>
{
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
||
false
})
const
isEnableVoice
=
computed
(()
=>
{
...
...
src/views/share/share-application-web.vue
View file @
50b156da
...
...
@@ -60,7 +60,7 @@ const isEnableDocumentParse = computed(() => {
})
const
isEnableUploadImage
=
computed
(()
=>
{
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
return
agentApplicationConfig
.
value
.
unitIds
?.
includes
(
PluginType
.
IMAGE_OCR
)
||
false
})
const
isEnableVoice
=
computed
(()
=>
{
...
...
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