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
035913b6
Commit
035913b6
authored
Mar 07, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://gitlab.gsstcloud.com:10022/poc/poc-fe
parents
f6db356e
50b156da
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
6 deletions
+15
-6
en.yaml
src/locales/langs/en.yaml
+1
-0
zh-cn.yaml
src/locales/langs/zh-cn.yaml
+1
-0
zh-hk.yaml
src/locales/langs/zh-hk.yaml
+1
-0
personal-app-config.ts
src/store/modules/personal-app-config.ts
+4
-1
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
locales.d.ts
types/locales.d.ts
+1
-0
No files found.
src/locales/langs/en.yaml
View file @
035913b6
...
...
@@ -256,6 +256,7 @@ personal_space_module:
application_empty
:
'
No
application
created'
agent_setting_module
:
my_agent
:
'
My
Agent'
modified
:
'
Have
been
changed'
auto_save_in
:
'
Autosave
to'
update_publish_btn_text
:
'
Update
release'
...
...
src/locales/langs/zh-cn.yaml
View file @
035913b6
...
...
@@ -254,6 +254,7 @@ personal_space_module:
application_empty
:
'
未创建应用'
agent_setting_module
:
my_agent
:
'
我的Agent应用'
modified
:
'
已变更'
auto_save_in
:
'
自动保存于'
update_publish_btn_text
:
'
更新发布'
...
...
src/locales/langs/zh-hk.yaml
View file @
035913b6
...
...
@@ -254,6 +254,7 @@ personal_space_module:
application_empty
:
'
未創建應用'
agent_setting_module
:
my_agent
:
'
我的Agent應用'
modified
:
'
已變更'
auto_save_in
:
'
自動保存於'
update_publish_btn_text
:
'
更新發布'
...
...
src/store/modules/personal-app-config.ts
View file @
035913b6
import
{
defineStore
}
from
'pinia'
import
{
PersonalAppConfigState
}
from
'../types/personal-app-config'
import
i18n
from
'@/locales'
const
{
t
}
=
i18n
.
global
export
function
defaultPersonalAppConfigState
():
PersonalAppConfigState
{
return
{
baseInfo
:
{
agentId
:
''
,
agentTitle
:
'我的Agent应用'
,
agentTitle
:
t
(
'personal_space_module.agent_module.agent_setting_module.my_agent'
)
,
agentAvatar
:
'https://gsst-poe-sit.gz.bcebos.com/data/20240911/1726041369632.webp'
,
agentDesc
:
''
,
agentSystem
:
''
,
...
...
src/views/home/components/footer-operation.vue
View file @
035913b6
...
...
@@ -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 @
035913b6
...
...
@@ -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 @
035913b6
...
...
@@ -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 @
035913b6
...
...
@@ -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 @
035913b6
...
...
@@ -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
(()
=>
{
...
...
types/locales.d.ts
View file @
035913b6
...
...
@@ -264,6 +264,7 @@ declare namespace I18n {
}
agent_setting_module
:
{
my_agent
:
string
modified
:
string
auto_save_in
:
string
update_publish_btn_text
:
string
...
...
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