🐛 Fixed SQLite time field issue

This commit is contained in:
landaiqing committed 2025-09-29 00:59:59 +08:00
1 parent 3077d5a7c5
commit 4d6a4ff79f
10 files changed
+43 -135

No files matched your search

@@ -472,7 +472,7 @@ watch(() => documentStore.showDocumentSelector, (isOpen) => {
border-radius: 3px;
margin-bottom: 4px;
width: 260px;
max-height: 320px;
//max-height: 320px;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;
+2 -2
View File
@@ -150,12 +150,12 @@ export const useDocumentStore = defineStore('document', () => {
const doc = documents.value[docId];
if (doc) {
doc.title = title;
doc.updatedAt = new Date();
doc.updatedAt = new Date().toISOString();
}
if (currentDocument.value?.id === docId) {
currentDocument.value.title = title;
currentDocument.value.updatedAt = new Date();
currentDocument.value.updatedAt = new Date().toISOString();
}
return true;