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
3b7f8837
Commit
3b7f8837
authored
Dec 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 应用API调用UI调整
parent
9217d063
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 @
3b7f8837
...
@@ -133,6 +133,7 @@ common_module:
...
@@ -133,6 +133,7 @@ common_module:
not_generated
:
'
Not
generated'
not_generated
:
'
Not
generated'
export_successfully
:
'
Export
successfully'
export_successfully
:
'
Export
successfully'
export_failed
:
'
Export
failed'
export_failed
:
'
Export
failed'
copy_link
:
'
Copy
link'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
You
can
keep
asking
questions'
continue_question_message
:
'
You
can
keep
asking
questions'
...
...
src/locales/langs/zh-cn.yaml
View file @
3b7f8837
...
@@ -132,6 +132,7 @@ common_module:
...
@@ -132,6 +132,7 @@ common_module:
not_generated
:
'
未生成'
not_generated
:
'
未生成'
export_successfully
:
'
导出成功'
export_successfully
:
'
导出成功'
export_failed
:
'
导出失败'
export_failed
:
'
导出失败'
copy_link
:
'
复制链接'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
你可以继续提问'
continue_question_message
:
'
你可以继续提问'
...
...
src/locales/langs/zh-hk.yaml
View file @
3b7f8837
...
@@ -132,6 +132,7 @@ common_module:
...
@@ -132,6 +132,7 @@ common_module:
not_generated
:
'
未生成'
not_generated
:
'
未生成'
export_successfully
:
'
導出成功'
export_successfully
:
'
導出成功'
export_failed
:
'
導出失敗'
export_failed
:
'
導出失敗'
copy_link
:
'
複製鏈接'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
你可以繼續提問'
continue_question_message
:
'
你可以繼續提問'
...
...
src/views/personal-space/personal-app-setting/components/agent-publish/components/api-call-drawer.vue
View file @
3b7f8837
...
@@ -181,7 +181,11 @@ async function handleExportAPIChannelPointUsageData() {
...
@@ -181,7 +181,11 @@ async function handleExportAPIChannelPointUsageData() {
<p
class=
"font-600"
>
App Key
</p>
<p
class=
"font-600"
>
App Key
</p>
<span
class=
"text-theme-color cursor-pointer hover:opacity-80"
@
click=
"handleGetAPIProfile"
>
<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>
</span>
</div>
</div>
...
@@ -237,15 +241,12 @@ async function handleExportAPIChannelPointUsageData() {
...
@@ -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"
>
<div
class=
"rounded-theme flex h-9 w-full cursor-default items-center justify-between border px-3"
>
<span>
{{ personalAppConfigStore.baseInfo.agentId }}
</span>
<span>
{{ personalAppConfigStore.baseInfo.agentId }}
</span>
<n-popover
trigger=
"hover"
>
<span
<
template
#
trigger
>
class=
"text-theme-color border-inactive-border-color cursor-pointer border-l pl-3 hover:opacity-80"
<i
@
click=
"handleCopyText(personalAppConfigStore.baseInfo.agentId)"
class=
"iconfont icon-copy text-gray-font-color hover:text-theme-color cursor-pointer leading-4"
>
@
click=
"handleCopyText(personalAppConfigStore.baseInfo.agentId)"
{{ t('common_module.copy_link') }}
/>
</span>
</
template
>
<span>
{{ t('common_module.data_table_module.copy') }}
</span>
</n-popover>
</div>
</div>
</div>
</div>
...
...
types/locales.d.ts
View file @
3b7f8837
...
@@ -132,6 +132,7 @@ declare namespace I18n {
...
@@ -132,6 +132,7 @@ declare namespace I18n {
not_generated
:
string
not_generated
:
string
export_successfully
:
string
export_successfully
:
string
export_failed
:
string
export_failed
:
string
copy_link
:
string
dialogue_module
:
{
dialogue_module
:
{
continue_question_message
:
string
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