mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 解决添加 User-Agent 过滤失败的问题 (#3115)
This commit is contained in:
parent
7c3c4db81b
commit
ca45edae5f
@ -210,7 +210,7 @@ type WebsiteRedirectReq struct {
|
||||
type WebsiteWafFileUpdate struct {
|
||||
WebsiteID uint `json:"websiteID" validate:"required"`
|
||||
Content string `json:"content" validate:"required"`
|
||||
Type string `json:"type" validate:"required,oneof=cc ip_white ip_block url_white url_block cookie_block args_check post_check ua_check file_ext_block"`
|
||||
Type string `json:"type" validate:"required,oneof=cc ip_white ip_block url_white url_block cookie_block args_check post_check ua_check file_ext_block user_agent"`
|
||||
}
|
||||
|
||||
type WebsiteCommonReq struct {
|
||||
|
@ -109,7 +109,7 @@
|
||||
show-overflow-tooltip
|
||||
prop="organization"
|
||||
></el-table-column>
|
||||
<el-table-column :label="$t('website.remark')" fix show-overflow-tooltip prop="description">
|
||||
<el-table-column :label="$t('website.remark')" fix prop="description">
|
||||
<template #default="{ row }">
|
||||
<fu-read-write-switch>
|
||||
<template #read>
|
||||
|
Loading…
x
Reference in New Issue
Block a user