fix:站点信息维护增加属性

This commit is contained in:
jxxghp
2024-04-29 20:26:56 +08:00
parent b4f049ecda
commit c5ded86d8a
2 changed files with 14 additions and 0 deletions

View File

@@ -316,6 +316,10 @@ export interface Site {
rss?: string
// Cookie
cookie?: string
// ApiKey
apikey?: string
// Token
token?: string
// User-Agent
ua?: string
// 是否使用代理

View File

@@ -161,6 +161,16 @@ async function updateSiteInfo() {
hint="浏览器打开站点首页打开开发人员工具刷新页面后在网络选项中找到首页地址在请求头中获取Cookie信息"
/>
</VCol>
<VCol cols="6">
<VTextField
v-model="siteForm.token"
label="请求头Authorization"
hint="在开发人员工具网络请求头中获取Authorization仅个别站点需要"
/>
</VCol>
<VCol cols="6">
<VTextField v-model="siteForm.apikey" label="令牌API Key" hint="站点的访问API Key仅个别站点需要" />
</VCol>
<VCol cols="12">
<VTextField
v-model="siteForm.ua"