feat: v1.1.0 release with AI email extraction and security enhancements (#782)

fix: initialize customSqlCleanupList to empty array if undefined

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dream Hunter
2025-12-11 23:45:23 +08:00
committed by GitHub
parent d15a4904a5
commit fa72d7187f

View File

@@ -113,6 +113,9 @@ const fetchData = async () => {
try {
const res = await api.fetch('/admin/auto_cleanup');
if (res) Object.assign(cleanupModel.value, res);
if (!cleanupModel.value.customSqlCleanupList) {
cleanupModel.value.customSqlCleanupList = [];
}
} catch (error) {
message.error(error.message || "error");
}