mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
站点超时时间设置
This commit is contained in:
@@ -334,6 +334,8 @@ export interface Site {
|
|||||||
public?: number
|
public?: number
|
||||||
// 备注
|
// 备注
|
||||||
note?: string
|
note?: string
|
||||||
|
// 超时时间
|
||||||
|
timeout?: number
|
||||||
// 流控单位周期
|
// 流控单位周期
|
||||||
limit_interval?: number
|
limit_interval?: number
|
||||||
// 流控次数
|
// 流控次数
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ async function updateSiteInfo() {
|
|||||||
hint="格式:http://www.example.com/"
|
hint="格式:http://www.example.com/"
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol cols="12" md="3">
|
<VCol cols="6" md="3">
|
||||||
<VSelect
|
<VSelect
|
||||||
v-model="siteForm.pri"
|
v-model="siteForm.pri"
|
||||||
label="优先级"
|
label="优先级"
|
||||||
@@ -153,18 +153,21 @@ async function updateSiteInfo() {
|
|||||||
hint="站点资源下载优先级,优先级数字越小越优先下载"
|
hint="站点资源下载优先级,优先级数字越小越优先下载"
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol cols="12" md="3">
|
<VCol cols="6" md="3">
|
||||||
<VSelect v-model="siteForm.is_active" :items="statusItems" label="状态" />
|
<VSelect v-model="siteForm.is_active" :items="statusItems" label="状态" />
|
||||||
</VCol>
|
</VCol>
|
||||||
</VRow>
|
</VRow>
|
||||||
<VRow>
|
<VRow>
|
||||||
<VCol cols="12">
|
<VCol cols="12" md="9">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="siteForm.rss"
|
v-model="siteForm.rss"
|
||||||
label="RSS地址"
|
label="RSS地址"
|
||||||
hint="订阅模式为站点RSS时,将会使用此地址获取站点种子资源,该地址一般会自动获取,也可手动补充"
|
hint="订阅模式为站点RSS时,将会使用此地址获取站点种子资源,该地址一般会自动获取,也可手动补充"
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
|
<VCol cols="12" md="3">
|
||||||
|
<VTextField v-model="siteForm.timeout" label="超时时间(秒)" hint="站点请求超时时间,为空将使用默认值" />
|
||||||
|
</VCol>
|
||||||
<VCol cols="12">
|
<VCol cols="12">
|
||||||
<VTextarea
|
<VTextarea
|
||||||
v-model="siteForm.cookie"
|
v-model="siteForm.cookie"
|
||||||
@@ -202,7 +205,7 @@ async function updateSiteInfo() {
|
|||||||
<VCol cols="12" md="4">
|
<VCol cols="12" md="4">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="siteForm.limit_count"
|
v-model="siteForm.limit_count"
|
||||||
label="访问次数"
|
label="周期内访问次数"
|
||||||
:rules="[numberValidator]"
|
:rules="[numberValidator]"
|
||||||
hint="设定单位周期内站点允许的访问次数,0为不限制"
|
hint="设定单位周期内站点允许的访问次数,0为不限制"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user