Skip to content

Commit 205b247

Browse files
committed
✨ 优化直链 Referer 黑/白名单域名输入框提示信息,提示需要输入协议头
1 parent af095ee commit 205b247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/admin/download-link/basic-setting.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
<z-form-item v-show="data.refererType !== 'no'" label="白名单">
7373
<el-input type="textarea"
7474
:rows="6"
75-
placeholder="每行输入一个域名"
75+
placeholder="每行输入一个域名,如:&#13;&#10;http://*example.com&#13;&#10;https://*example.com&#13;&#10;https://a.*.example.com&#13;&#10;*://*.example.com"
7676
v-model="data.refererValue">
7777
</el-input>
7878
<template #tips v-if="data.refererType === 'white_list'">
79-
每行输入一个域名,支持 * 通配符,如白名单 *zfile.vip 将只允许 zfile.vip、www.zfile.vip、demo.zfile.vip 等网站访问。
79+
每行输入一个域名,需要写协议头支持 * 通配符,如白名单 http://*zfile.vip 将只允许 http://zfile.vip、http://www.zfile.vip、http://demo.zfile.vip 等网站访问。
8080
</template>
8181
<template #tips v-if="data.refererType === 'black_list'">
8282
每行输入一个域名,需要写协议头,支持 * 通配符,如黑名单 http://*zfile.vip 将禁止所有如 http://zfile.vip、http://www.zfile.vip、http://demo.zfile.vip 等网站访问。

0 commit comments

Comments
 (0)