Commit Graph
6 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andSunwuyuan 056225b6b3 Fix notification deletion bug: save {} instead of [] when list is empty
When all notifications are deleted, the persistentNotifications array
becomes empty ([]). The backend doesn't accept an empty array as a
valid value, requiring an empty object ({}) instead. This fix modifies
both index.vue and UrgentTestDialog.vue to save {} when the
notification list is empty.

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-01 10:16:47 +00:00
Sunwuyuan 76c2dba502 规范代码格式 2025-11-16 15:14:17 +08:00
SunWuyuan 0f9ad4f81a Add mode switching and number range settings to RandomPicker component. Introduce picker modes for name and number, allowing users to set a range for student IDs. Update settings management for new properties and enhance UI for better user experience. 2025-05-24 21:21:20 +08:00
SunWuyuan be3ffb945c Refactor RandomPicker.vue for improved readability and maintainability. Enhance template formatting by standardizing indentation and spacing, and update button properties for consistency. Add a new button for navigating to the list page in index.vue, and adjust date handling in settings and index pages for better date management. Update dataProvider and settings utility functions for improved response handling and configuration management. 2025-05-11 16:23:41 +08:00
SunWuyuan 590cffc6e6 Enhance RandomPicker component with persistent dialog feature and clean up global styles by removing unnecessary whitespace. Update styles for hover effects and ensure consistent formatting across SCSS files. 2025-05-10 21:51:48 +08:00
SunWuyuan 291c593178 pwa,设置项,自动刷新 2025-04-04 21:40:24 +08:00