Commit b639055e authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 应用API调用UI调整

See merge request !132
parents acb3430b 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'
......
...@@ -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: '你可以继续提问'
......
...@@ -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: '你可以繼續提問'
......
...@@ -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>
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment