如果token为只读则将“点击添加作业”改为“当日无作业”#30
Merged
Sunwuyuan merged 2 commits intoZeroCatDev:mainfrom Jan 3, 2026
Merged
Conversation
- 添加浏览器全局变量如window、document、navigator等 - 添加Vite相关全局变量如import、process等 - 添加Service Worker全局变量如self、caches等 - 添加Web API全局变量如Notification、ServiceWorker等 - 添加Web Storage API全局变量如Storage、StorageEvent等 - 添加WebSocket和Web Workers相关全局变量
- 实现只读令牌状态检测功能,动态显示不同图标 - 在卡片和按钮中根据只读状态切换图标(加号或取消图标) - 添加StudentNameManager组件依赖注入 - 重构组件数据结构,添加isReadOnlyToken响应式数据 - 实现异步检查只读状态的方法,支持多种访问方式 - 优化卡片文本显示,只读时显示"当日无作业"提示而不是“点击添加作业”
Contributor
Author
Collaborator
|
此拉取请求已在 Kernyr 上被提及。那里可能有相关详细信息: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
如果token为只读则将“点击添加作业”改为“当日无作业”。