From d8263d17e0bb4c2ef507f48232311b602514cf25 Mon Sep 17 00:00:00 2001 From: Caroline <2070136618@qq.com> Date: Thu, 4 Jul 2024 19:50:34 +0800 Subject: [PATCH] Fix bug 570 --- app/static/js/word_operation.js | 4 +++- app/templates/userpage_get.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/static/js/word_operation.js b/app/static/js/word_operation.js index b3c8bd4..5211f43 100644 --- a/app/static/js/word_operation.js +++ b/app/static/js/word_operation.js @@ -185,9 +185,11 @@ function compareWord(first, second) { /** * - * + * 随机选取 10 个单词学习 */ function random_select_word(word) { + + alert("点击熟悉与不熟悉之后,单词自动返回生词库") // 获取所有带有 "word-container" 类的
标签
const container = document.querySelector('.word-container');
diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html
index 6df5c02..581a038 100644
--- a/app/templates/userpage_get.html
+++ b/app/templates/userpage_get.html
@@ -146,8 +146,8 @@
允许动态调整顺序
- 随机选取10个
- 显示所有生词
+ 随机选取10个
+ 显示所有生词