diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 9d169cbd..d52b35d3 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -436,7 +436,12 @@ "floating_window_mode": "Floating window mode", "copy_successful": "Copy successful", "copy_failed": "Copy failed", - "open_the_query": "Public data sources allow all users to open the query; private data sources allow logged-in users to open the query" + "open_the_query": "Public data sources allow all users to open the query; private data sources allow logged-in users to open the query", + "add_interface_credentials": "Add interface credentials", + "edit_interface_credentials": "Edit interface credentials", + "duplicate_name": "Duplicate name", + "interface_credentials": "Interface credentials", + "no_credentials_yet": "No credentials yet" }, "chat": { "type": "Chart Type", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 27fbb5ca..d1579fa2 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -448,7 +448,12 @@ "floating_window_mode": "浮窗模式", "copy_successful": "复制成功", "copy_failed": "复制失败", - "open_the_query": "公共的数据源,允许所有用户开启问数;私有数据源,登录状态的用户可以开启问数" + "open_the_query": "公共的数据源,允许所有用户开启问数;私有数据源,登录状态的用户可以开启问数", + "add_interface_credentials": "添加接口凭证", + "edit_interface_credentials": "编辑接口凭证", + "duplicate_name": "重复名称", + "interface_credentials": "接口凭证", + "no_credentials_yet": "暂无凭证" }, "chat": { "type": "图表类型", diff --git a/frontend/src/views/system/embedded/index.vue b/frontend/src/views/system/embedded/index.vue index 28a21b2c..457ac238 100644 --- a/frontend/src/views/system/embedded/index.vue +++ b/frontend/src/views/system/embedded/index.vue @@ -1,5 +1,5 @@ @@ -378,8 +439,8 @@ const copyCode = () => { v-model="keywords" style="width: 240px; margin-right: 12px" :placeholder="$t('dashboard.search')" - @keyup.enter="handleSearch" clearable + @keyup.enter="handleSearch" @blur="handleSearch" > @@ -565,67 +626,60 @@ const copyCode = () => { autocomplete="off" /> - - + + + {{ t('embedded.interface_credentials') }} + + + + + {{ t('model.add') }} + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -725,6 +779,88 @@ const copyCode = () => { + + + + + + + + + + + + + + + + + + + + + + + + + + + +