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
+4
View File
@@ -316,6 +316,10 @@ export interface Site {
rss?: string rss?: string
// Cookie // Cookie
cookie?: string cookie?: string
// ApiKey
apikey?: string
// Token
token?: string
// User-Agent // User-Agent
ua?: string ua?: string
// 是否使用代理 // 是否使用代理
@@ -161,6 +161,16 @@ async function updateSiteInfo() {
hint="浏览器打开站点首页,打开开发人员工具,刷新页面后在网络选项中找到首页地址,在请求头中获取Cookie信息" hint="浏览器打开站点首页,打开开发人员工具,刷新页面后在网络选项中找到首页地址,在请求头中获取Cookie信息"
/> />
</VCol> </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"> <VCol cols="12">
<VTextField <VTextField
v-model="siteForm.ua" v-model="siteForm.ua"