diff --git a/app/static/js/word_operation.js b/app/static/js/word_operation.js index b7d8a00..36a023b 100644 --- a/app/static/js/word_operation.js +++ b/app/static/js/word_operation.js @@ -30,7 +30,7 @@ function unfamiliar(index) { }); } -function del_word(index) { +function delete_word(index) { let username = $("#username").text(); let word = $("#word_" + index).text(); $.ajax({ diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index 9f3326f..d807b4e 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -67,7 +67,7 @@ ( {{ freq }} ) 熟悉 不熟悉 - 删除 + 删除

{% endfor %}