mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
feat: 增加搜索来源选项
This commit is contained in:
parent
592e18494b
commit
8d13145d2f
4 changed files with 33 additions and 14 deletions
|
|
@ -800,7 +800,19 @@ export function supportGuoba () {
|
|||
label: 'Azure search key',
|
||||
bottomHelpMessage: 'https://www.microsoft.com/en-us/bing/apis/bing-web-search-api',
|
||||
component: 'Input'
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'serpSource',
|
||||
label: '搜索来源,azure需填写key,ikechan8370为作者自备源',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: 'Azure', value: 'azure' },
|
||||
{ label: 'ikechan8370', value: 'ikechan8370' }
|
||||
// { label: '数据', value: 'buffer' }
|
||||
]
|
||||
}
|
||||
},
|
||||
],
|
||||
// 获取配置数据方法(用于前端填充显示数据)
|
||||
getConfigData () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue