fix: 解决添加 User-Agent 过滤失败的问题 (#3115)

This commit is contained in:
zhengkunwang
2023-11-30 06:10:08 +00:00
committed by GitHub
parent 7c3c4db81b
commit ca45edae5f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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>