feat: 增加搜索来源选项

This commit is contained in:
ikechan8370 2023-06-24 16:12:04 +08:00
parent 592e18494b
commit 8d13145d2f
4 changed files with 33 additions and 14 deletions

View file

@ -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需填写keyikechan8370为作者自备源',
component: 'Select',
componentProps: {
options: [
{ label: 'Azure', value: 'azure' },
{ label: 'ikechan8370', value: 'ikechan8370' }
// { label: '数据', value: 'buffer' }
]
}
},
],
// 获取配置数据方法(用于前端填充显示数据)
getConfigData () {