feat: 重构移动端布局并新增专用单词本页面
This commit is contained in:
@@ -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' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user