当集群设置不允许记录访问日志时,在网站的访问日志查看页面提醒

This commit is contained in:
GoEdgeLab
2023-07-05 15:55:47 +08:00
parent 1ec1971938
commit f0f5fcff54
7 changed files with 87 additions and 7 deletions

View File

@@ -12,6 +12,12 @@
{$template "/left_menu_with_menu"}
<div class="right-box with-menu">
<!-- 集群设置提醒 -->
<div v-if="!clusterAccessLogIsOn">
<div class="margin"></div>
<warning-message>当前集群已经设置不允许网站记录访问日志,可以在"集群设置" -- "网站设置"中修改此选项。</warning-message>
</div>
<first-menu>
<menu-item :href="path + '?' + query()" :active="hasError == 0 && hasWAF == 0">所有日志</menu-item>
<menu-item :href="path + '?' + query('hasError=1')" :active="hasError > 0">错误日志</menu-item>