feat(h5): 修复alert.html认证Bug + 新增log-detail.html日志详情页
- alert.html: requireAuth()后加return防止未登录时继续执行 - 新增log-detail.html: 独立详情页(骨架屏+设备标签+安全备注+照片) - logs.html: 列表项跳转log-detail.html?id=xxx - mock.js: MOCK_LOGS补全part/equipment/author/created_at/safety_note字段 - 补全equip-checkbox等CSS样式
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
<script>
|
||||
requireAuth();
|
||||
|
||||
if (!requireAuth()) return;
|
||||
|
||||
var alertId = getQueryParam('id');
|
||||
if (!alertId) location.href = 'alerts.html';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user