问题:不管选择"当次关闭"还是"永久关闭",都会永久关闭公告 修复: - 当次关闭:使用 sessionStorage + pageToken - pageToken 基于 performance.timeOrigin 生成 - 刷新页面后 token 变化,公告重新显示 - 永久关闭:使用 localStorage - 持久化存储,刷新/重开后不再显示 修改文件: - app-frontend/src/layouts/AppLayout.vue - templates/index.html 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
501 B
HTML
16 lines
501 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
|
<title>知识管理平台</title>
|
|
<script type="module" crossorigin src="./assets/index-CGLq5RWF.js"></script>
|
|
<link rel="stylesheet" crossorigin href="./assets/index-BIng7uZJ.css">
|
|
</head>
|
|
<body>
|
|
<noscript>该页面需要启用 JavaScript 才能使用。</noscript>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|
|
|