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
b639055e
You need to sign in or sign up before continuing.
Commit
b639055e
authored
Dec 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
chore: 应用API调用UI调整 See merge request
!132
parents
acb3430b
3b7f8837
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
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
api-call-drawer.vue
...g/components/agent-publish/components/api-call-drawer.vue
+11
-10
locales.d.ts
types/locales.d.ts
+1
-0
No files found.
src/locales/langs/en.yaml
View file @
b639055e
...
...
@@ -133,6 +133,7 @@ common_module:
not_generated
:
'
Not
generated'
export_successfully
:
'
Export
successfully'
export_failed
:
'
Export
failed'
copy_link
:
'
Copy
link'
dialogue_module
:
continue_question_message
:
'
You
can
keep
asking
questions'
...
...
src/locales/langs/zh-cn.yaml
View file @
b639055e
...
...
@@ -132,6 +132,7 @@ common_module:
not_generated
:
'
未生成'
export_successfully
:
'
导出成功'
export_failed
:
'
导出失败'
copy_link
:
'
复制链接'
dialogue_module
:
continue_question_message
:
'
你可以继续提问'
...
...
src/locales/langs/zh-hk.yaml
View file @
b639055e
...
...
@@ -132,6 +132,7 @@ common_module:
not_generated
:
'
未生成'
export_successfully
:
'
導出成功'
export_failed
:
'
導出失敗'
copy_link
:
'
複製鏈接'
dialogue_module
:
continue_question_message
:
'
你可以繼續提問'
...
...
src/views/personal-space/personal-app-setting/components/agent-publish/components/api-call-drawer.vue
View file @
b639055e
...
...
@@ -181,7 +181,11 @@ async function handleExportAPIChannelPointUsageData() {
<p
class=
"font-600"
>
App Key
</p>
<span
class=
"text-theme-color cursor-pointer hover:opacity-80"
@
click=
"handleGetAPIProfile"
>
{{
t
(
'personal_space_module.agent_module.agent_setting_module.agent_publish_module.click_to_generate'
)
apiProfileInfo
.
apiKey
?
t
(
'common_module.regenerate'
)
:
t
(
'personal_space_module.agent_module.agent_setting_module.agent_publish_module.click_to_generate'
,
)
}}
</span>
</div>
...
...
@@ -237,15 +241,12 @@ async function handleExportAPIChannelPointUsageData() {
<div
class=
"rounded-theme flex h-9 w-full cursor-default items-center justify-between border px-3"
>
<span>
{{ personalAppConfigStore.baseInfo.agentId }}
</span>
<n-popover
trigger=
"hover"
>
<
template
#
trigger
>
<i
class=
"iconfont icon-copy text-gray-font-color hover:text-theme-color cursor-pointer leading-4"
@
click=
"handleCopyText(personalAppConfigStore.baseInfo.agentId)"
/>
</
template
>
<span>
{{ t('common_module.data_table_module.copy') }}
</span>
</n-popover>
<span
class=
"text-theme-color border-inactive-border-color cursor-pointer border-l pl-3 hover:opacity-80"
@
click=
"handleCopyText(personalAppConfigStore.baseInfo.agentId)"
>
{{ t('common_module.copy_link') }}
</span>
</div>
</div>
...
...
types/locales.d.ts
View file @
b639055e
...
...
@@ -132,6 +132,7 @@ declare namespace I18n {
not_generated
:
string
export_successfully
:
string
export_failed
:
string
copy_link
:
string
dialogue_module
:
{
continue_question_message
:
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