Commit Graph
7 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andSunwuyuan f282f1f4bc Fix notification deletion: save {} instead of [] when list is empty
Only modify the two files that need the fix, without any formatting changes.

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-01 10:24:14 +00:00
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 6d6e4a27a1 Refactor SettingItem.vue for improved readability and maintainability. Standardize template formatting, enhance indentation and spacing, and ensure consistent use of quotation marks. Update component properties and methods for better clarity and organization. 2025-05-11 17:04:09 +08:00
SunWuyuan a542e9b91f Implement data migration tool and enhance KV storage support. Add automatic redirection for legacy data providers, improve user interface for migration settings, and update data handling for Classworks cloud storage. Refactor components for better integration with new storage options. 2025-05-10 20:51:56 +08:00
SunWuyuan c0e33dcbf9 Add uuid dependency and implement KV storage support in settings and data provider components. Enhance server settings with site key configuration and improve data handling for new KV providers. 2025-05-10 17:48:18 +08:00
SunWuyuan 291c593178 pwa,设置项,自动刷新 2025-04-04 21:40:24 +08:00