样式修改

This commit is contained in:
robin
2026-02-14 23:23:35 +08:00
parent eafac7a204
commit dd396d31b5
8 changed files with 84 additions and 21 deletions

View File

@@ -300,9 +300,7 @@ func (this *CreateAction) RunPost(params struct {
if err != nil {
this.Fail("源站地址解析失败:" + err.Error())
}
if len(originConfigs) == 0 {
this.FailField("emptyOrigin", "请添加至少一个源站地址")
}
// 允许不填源站,保存时统一提示
var originRefs = []*serverconfigs.OriginRef{}
for _, originConfig := range originConfigs {