Skip to content

Commit

Permalink
fix: cookie bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
vertex-app committed Mar 24, 2024
1 parent b4315a5 commit b856798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webui/src/pages/base/Site.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
<a-checkbox v-model:checked="site.adult">搜索 R18 分区</a-checkbox>
</a-form-item>
<a-form-item
label="Cookie"
name="cookie, M-Team 为 api key"
label="Cookie, M-Team 为 api key"
name="cookie"
:rules="[{ required: true, message: '${label}不可为空! ' }]">
<a-input size="small" v-model:value="site.cookie"/>
</a-form-item>
Expand Down
4 changes: 2 additions & 2 deletions webui/src/pages/task/Rss.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@
<a-checkbox v-model:checked="rss.scrapeHr">排除 HR</a-checkbox>
</a-form-item>
<a-form-item
label="Cookie"
label="Cookie, M-Team 为 api key"
v-if="rss.scrapeHr || rss.scrapeFree"
name="cookie, M-Team 为 api key"
name="cookie"
:rules="[{ required: true, message: '${label}不可为空! ' }]">
<a-input size="small" v-model:value="rss.cookie"/>
</a-form-item>
Expand Down

0 comments on commit b856798

Please sign in to comment.