feat: 重构移动端布局并新增专用单词本页面

This commit is contained in:
guoqingshan
2026-08-02 11:00:39 +08:00
parent 870f8a5da3
commit b337ee23c2
8 changed files with 867 additions and 48 deletions
+4
View File
@@ -72,6 +72,10 @@ function apiAddVocabulary(data) {
return apiFetch('/api/vocabulary', { method: 'POST', body: data });
}
function apiUpdateVocabulary(id, data) {
return apiFetch('/api/vocabulary/' + id, { method: 'PUT', body: data });
}
function apiDeleteVocabulary(id) {
return apiFetch('/api/vocabulary/' + id, { method: 'DELETE' });
}