Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@user111192
Copy link

如果token为只读则将“点击添加作业”改为“当日无作业”。

- 添加浏览器全局变量如window、document、navigator等
- 添加Vite相关全局变量如import、process等
- 添加Service Worker全局变量如self、caches等
- 添加Web API全局变量如Notification、ServiceWorker等
- 添加Web Storage API全局变量如Storage、StorageEvent等
- 添加WebSocket和Web Workers相关全局变量
- 实现只读令牌状态检测功能,动态显示不同图标
- 在卡片和按钮中根据只读状态切换图标(加号或取消图标)
- 添加StudentNameManager组件依赖注入
- 重构组件数据结构,添加isReadOnlyToken响应式数据
- 实现异步检查只读状态的方法,支持多种访问方式
- 优化卡片文本显示,只读时显示"当日无作业"提示而不是“点击添加作业”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant