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>
8 lines
115 B
Vue
8 lines
115 B
Vue
<template>
|
|
<error404 />
|
|
</template>
|
|
|
|
<script setup>
|
|
import error404 from "@/components/error/404.vue";
|
|
</script>
|