自定义页面增加是否“启用系统自定义页面”选项

This commit is contained in:
刘祥超
2024-05-03 11:22:50 +08:00
parent 1a1ae239b3
commit 6e2c5aabc2
2 changed files with 4 additions and 2 deletions

View File

@@ -506,6 +506,8 @@ func (this *HTTPRequest) configureWeb(web *serverconfigs.HTTPWebConfig, isTop bo
}
// pages
this.web.EnableGlobalPages = web.EnableGlobalPages
if len(web.Pages) > 0 {
this.web.Pages = web.Pages
}